.shtml not being served by apache.
Travis Roy
travis at scootz.net
Tue Jul 6 14:59:01 EDT 2004
I have this in my httpd.conf file:
# Filters allow you to process content before it is sent to the client.
#
# To parse .shtml files for server-side includes (SSI):
# (You will also need to add "Includes" to the "Options" directive.)
#
AddOutputFilter INCLUDES .shtml
Jason wrote:
> All,
> Running RH 9.0 - Apache
>
> I can't seem to get apache to serve up any pages with ssi. This includes php
> and shtml. I googled and found several solutions saying uncomment the
> following in the httpd.conf file:
>
> AddType text/html .shtml
> AddHandler server-parsed .shtml
>
> but neither of these is found when I grep httpd.conf. So I added the
> following to httpd.conf:
>
> <Directory /var/www/html/sitedirectory>
> Options Includes
> AddType text/html .htm
> AddHandler server-parsed .htm
> </Directory>
>
> I also built a .htaccess file with:
>
> XBitHack on
> and did a
> chmod +x file.htm
>
> to see if I could get them to execute... no go!
>
> Next I added the following to the .htaccess file:
>
> AddType text/html .shtml
> AddHandler server-parsed .shtml
> XBitHack on
>
> and changed the file extensions to .shtml and it still didn't work.
>
> Any suggestions? Next stop brick wall!
>
>
>
> Jason Kern
>
> www.KernBuilt.com
> 603.823.5150
>
>
> _______________________________________________
> gnhlug-discuss mailing list
> gnhlug-discuss at mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
More information about the gnhlug-discuss
mailing list