On Friday 08 November 2002 05:35, Mike At Spy wrote:
> There isn't any .htaccess file in the directory - I added one with the line
> you specified, and my directory comes up with a 'server misconfiguration
> error'.  Any other ideas?  :)

You may have to put it inside a directory container:

 <Directory "/home/www/">
   AddType application/x-httpd-php .htm .html
 </Directory>



Or you can edit your httpd.conf file instead:

<IfModule mod_php4.c>
  AddType application/x-httpd-php .php4 .php3 .php .html
  AddType application/x-httpd-php-source .phps
</IfModule>

This will parse all html on all the websites served by apache.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/*
poor power conditioning
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to