Clean Mandrake 9.1 install and Apache
If you do a fresh 9.1 install, Mandrake installs the Apache 2 webserver.
Apache 2 radically changes where it puts its config files - rather than a single httpd.conf file, the various sections are now split into multiple conf files.
I had a problem getting apache to recognise .htm files as php. Here's how I solved it.
Go to /etc/httpd/conf.d
Edit 75_mod_php.conf
Add the following line in the
AddType application/x-httpd-php .htm
Restart apache (apachectl restart)
The default Apache 2 config is placed in
/etc/httpd/2.0/conf
and its name is httpd2.conf
Friday, May 02, 2003
Posted by Anonymous at 11:41 am