Note: These instructions are identical for Leopard and Snow Leopard.
The are some items you need to change in the default configuration to allow other parts of this documentation to work witouth to many problems and to keep your server a bit more secure.
You need to change the configuration file of Apache. Please edit the file ‘
httpd.conf‘ in the directory ‘
/etc/httpd/‘. Find the following lines:
and change them into:
This will run the Apache process (httpd) as a normal user on your system, the _www user hasn’t got many rights but enough to run a web-server. This makes the system more secure. Next change the following line:
and change it into:
This will allow you to have php based index pages to appear without any problems.