>Look for the line: >AddType application/x-httpd-php .php > >make it: >AddType application/x-httpd-php .html .php
I know that the PHP documentation tell you to use AddType, but the correct to use should be AddHandler. Yes, I know, AddType works, but AddType is used to inform the user agent how to treat a file with some extension. AddHandler though is to inform the server how to _hadle_ a document. In the case of PHP, the AddHandler directive will tell apache to treat all .php (or, in the case .html) files as application/x-httpd-php i.e., use the PHP module to parse the file and deliver to the browser with the correct MIME Type. So, AddType denotes a MIME Type and AddHandler denoter, uh, a handler. The correct woud be using: AddHandler application/x-httpd-php .php .html Cheers! -- Bruno Cunha Torres http://www.brunotorres.net/ http://www.dotplusweb.com/ ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
