cd /etc/apache2/mods-enabled
sudo ln -s ../mods-available/userdir.load .
sudo ln -s ../mods-available/userdir.conf .
sudo apache2ctl restart
- The items in
~/public_html
should be accessible fromhttp://host/~username
By default, PHP is disabled in user directories. To enable it:
- Edit
/etc/apache2/mods-enabled/php5.conf
- Delete/comment out the lines related to disabling the user directory execution.
No comments:
Post a Comment