cd /etc/apache2/mods-enabledsudo ln -s ../mods-available/userdir.load .sudo ln -s ../mods-available/userdir.conf .sudo apache2ctl restart- The items in
~/public_htmlshould 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