Bluehost.com Web Hosting $6.95

server side includes[newbie]

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 ...


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-19-2004
f00l
 
Posts: n/a
Default server side includes[newbie]

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....."



  #2 (permalink)  
Old 07-19-2004
Kenneth Doyle
 
Posts: n/a
Default Re: server side includes[newbie]

"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.
  #3 (permalink)  
Old 07-19-2004
f00l
 
Posts: n/a
Default Re: server side includes[newbie]

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.



  #4 (permalink)  
Old 07-19-2004
Claire Tucker
 
Posts: n/a
Default Re: server side includes[newbie]

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
  #5 (permalink)  
Old 07-20-2004
f00l
 
Posts: n/a
Default Re: server side includes[newbie]

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



  #6 (permalink)  
Old 07-21-2004
Claire Tucker
 
Posts: n/a
Default Re: server side includes[newbie]

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!)
  #7 (permalink)  
Old 07-22-2004
f00l
 
Posts: n/a
Default Re: server side includes[newbie]

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!)



  #8 (permalink)  
Old 07-22-2004
Claire Tucker
 
Posts: n/a
Default Re: server side includes[newbie]

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.


  #9 (permalink)  
Old 07-23-2004
f00l
 
Posts: n/a
Default Re: server side includes[newbie]

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.
>
>



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 09:45 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0