This is a discussion on server side includes[newbie] within the Windows Web Servers forums, part of the Web Server and Related Forums category; Hi all, I am trying to get ssi to work with my already functioning webserver. the problem is whenever i ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi all,
I am trying to get ssi to work with my already functioning webserver. the problem is whenever i go to the page with the include on it, it doesnt appear! I have enabled the module and added include to the options part of the whole website and renamed the default website to index.shtml. What else is there to be done?? Greg -- " If at first you dont succeed, destroy all evidence you ever tried....." |
|
|||
|
"f00l" <ecliptical_galaxy@hotmail.com> wrote in
news:40fb7f5a$0$1285$5a62ac22@per-qv1-newsreader-01.iinet.net.au: > Hi all, > I am trying to get ssi to work with my already functioning webserver. > the problem is whenever i go to the page with the include on it, it > doesnt appear! The whole page, or just the included stuff? > I have enabled the module and added include to the > options part of the whole website and renamed the default website to > index.shtml. What else is there to be done?? These lines were commented out in my default httpd.conf AddType text/html .shtml AddOutputFilter INCLUDES .shtml Include them by deleting the comment token. -- CodeCutter - good, fast and cheap; pick two. |
|
|||
|
the includes, could it be that i need to rename all the pages to shtml not
just index.shtml?? as for those uncomments, i already uncommented them....if that makes sense... Greg -- " If at first you dont succeed, destroy all evidence you ever tried....." "Kenneth Doyle" <nobody@notmail.com> wrote in message news:Xns952BCA42F5097nobodynotmailcom@61.9.191.5.. . > "f00l" <ecliptical_galaxy@hotmail.com> wrote in > news:40fb7f5a$0$1285$5a62ac22@per-qv1-newsreader-01.iinet.net.au: > > > Hi all, > > I am trying to get ssi to work with my already functioning webserver. > > the problem is whenever i go to the page with the include on it, it > > doesnt appear! > > The whole page, or just the included stuff? > > > I have enabled the module and added include to the > > options part of the whole website and renamed the default website to > > index.shtml. What else is there to be done?? > > These lines were commented out in my default httpd.conf > > AddType text/html .shtml > AddOutputFilter INCLUDES .shtml > > Include them by deleting the comment token. > > > -- > CodeCutter - good, fast and cheap; pick two. |
|
|||
|
On Mon, 19 Jul 2004 21:00:08 +1000, "f00l"
<ecliptical_galaxy@hotmail.com> wrote: >the includes, could it be that i need to rename all the pages to shtml not >just index.shtml?? >as for those uncomments, i already uncommented them....if that makes >sense... > Yes, you will need to either name your files with an .shtml extension or add more extensions to the list of those which go through the INCLUDES filter. You can add 'html' to the list if you like, but beware that then *every* HTML document served will go through the SSI engine which will use more system resources per request than just copying the file directly. Best of luck, -Claire |
|
|||
|
My website isnt exactly for public use, its more just a hobby at the moment,
so should i just make all html documents get parsed for ssi? Greg -- " If at first you dont succeed, destroy all evidence you ever tried....." "Claire Tucker" <fake@invalid.invalid> wrote in message news:hknnf051453879ereql0nci85vm92s12og@4ax.com... > On Mon, 19 Jul 2004 21:00:08 +1000, "f00l" > <ecliptical_galaxy@hotmail.com> wrote: > > >the includes, could it be that i need to rename all the pages to shtml not > >just index.shtml?? > >as for those uncomments, i already uncommented them....if that makes > >sense... > > > > Yes, you will need to either name your files with an .shtml extension > or add more extensions to the list of those which go through the > INCLUDES filter. You can add 'html' to the list if you like, but > beware that then *every* HTML document served will go through the SSI > engine which will use more system resources per request than just > copying the file directly. > > Best of luck, > -Claire |
|
|||
|
On Tue, 20 Jul 2004 17:51:05 +1000, "f00l"
<ecliptical_galaxy@hotmail.com> wrote: >My website isnt exactly for public use, its more just a hobby at the moment, >so should i just make all html documents get parsed for ssi? > >Greg It shouldn't do any harm. Good luck, -Claire (Please don't reply above the quoted message. Aside from the usual reasons, my newsreader also trimmed off the quote thinking it was part of your signature!) |
|
|||
|
so can i just change the filter .shtml to .html or should i add the .html
extension? (i have both page extensions) Greg -- " If at first you dont succeed, destroy all evidence you ever tried....." "Claire Tucker" <fake@invalid.invalid> wrote in message news:rhqrf0pltfahu1ptv6s6141faqr8vmd3pi@4ax.com... > On Tue, 20 Jul 2004 17:51:05 +1000, "f00l" > <ecliptical_galaxy@hotmail.com> wrote: > > >My website isnt exactly for public use, its more just a hobby at the moment, > >so should i just make all html documents get parsed for ssi? > > > >Greg > > It shouldn't do any harm. > > Good luck, > -Claire > > (Please don't reply above the quoted message. Aside from the usual > reasons, my newsreader also trimmed off the quote thinking it was part > of your signature!) |
|
|||
|
On Thu, 22 Jul 2004 21:56:06 +1000, "f00l"
<ecliptical_galaxy@hotmail.com> wrote: >so can i just change the filter .shtml to .html or should i add the .html >extension? (i have both page extensions) > Just add 'html' after 'shtml'. The filter directive accepts multiple extensions at the end. |
|
|||
|
Cool thank you so much Claire and Kenneth
Greg -- " If at first you dont succeed, destroy all evidence you ever tried....." "Claire Tucker" <fake@invalid.invalid> wrote in message news:a2mvf0p9177f8qaave63k5oq39bm5otfa6@4ax.com... > On Thu, 22 Jul 2004 21:56:06 +1000, "f00l" > <ecliptical_galaxy@hotmail.com> wrote: > > >so can i just change the filter .shtml to .html or should i add the .html > >extension? (i have both page extensions) > > > > Just add 'html' after 'shtml'. The filter directive accepts multiple > extensions at the end. > > |