PDA

View Full Version : cant save changes to httpd.conf



pdc124
01-11-2005, 04:23 PM
I need to get a portable version of a php program working - i was going tro use knoppix and a save as much config and data as I could to a USB stick.

Even as root , httpd.conf is read only
How do I add index.php to the list of serveed index pages ?

tom p
01-11-2005, 07:17 PM
I need to get a portable version of a php program working - i was going tro use knoppix and a save as much config and data as I could to a USB stick.

Even as root , httpd.conf is read only
How do I add index.php to the list of serveed index pages ?

either remove the symlink and copy the original httpd.conf in place of the symlink or (probably more simple) add your modifications to a file "/etc/apache/conf.d/customization.conf" (you can choose whatever file name you like). It's included from the last line in httpd.conf.

Thomas