As always, once posted to a list, the problem is resolved
before any replies.  :)
> Greetings all,
>       I'm having trouble getting Server Side Includes to work
> on my RH8 webserver.
>       
>       Firstly can anyone tell me if mod_include is part of
> RH Apache? - the module is in /etc/httpd/modules and it's loaded
> from httpd.conf so I've assumed it is available.
> 
>     My httpd.conf has:
> 
>     XBitHack On
>     <Directory /home/www/skywhale/htdocs/includes>

Should be 
<Directory /home/www/skywhale/htdocs/html>
(which is where I keep trees of html docs, specifially
ssi.html)

>     ## This is where the footer and headers will live.
>         Options IncludesNoExec
>         AllowOverride None
>     </Directory>
> 
>     And I have a test htdoc:
>  -rwxr-xr-x    1 apache   apache        537 Jul  4 16:18 ssi.html
>  
>     Which contains:
>       <html><body>
>       Todays date is: <!--#echo var="DATE_LOCAL" -->
>       </body></html>
> 
<!-- #echo var="DATE_LOCAL" -->
should be:
<!--#echo var="DATE_LOCAL" -->
 (no space before the #)

> 
> Needless to say I don't get a date printed...
> 
>     
> Would somebody be so kind as to slap me with my stupid mistake?
> (or even some way of debugging?)

<slap><slap><slap><slap><slap>

> 
> -- 
> --
> tia, Nick.
> 
-- 
--
ttfn, Nick.




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to