/etc/apache2/mods-available
and, as root, copy two files from there to the to the mod-enabled dir in immediately above:
cp userdir.conf ../mods-enabled
cp userdir.load ../mods-enabled
Restart Apache by either rebooting or, as root:
/etc/init.d/apache2 restart
Now you should be able to load html files from your public_html directory and execute php programs from your public_html/cgi-bin direct
|
|
The above will look something like this
Note: I had problems with this because the tutorial spelled the name of the function that is used to get the variables wrong. Trying to fix it, I installed php5 and php-pear before I noticed the spelling error. I believe the problem was solely the spelling error but it is possible that installing those other packages helped. Probably not but there is no way to tell :)
Browser data access screen caps