.shtml not being served by apache.

Jason jason at kernbuilt.com
Tue Jul 6 14:32:01 EDT 2004


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





More information about the gnhlug-discuss mailing list