Easily build a great vocabulary without studying! Now on the App Store!
Click here for more info about the app

Add User Directories to Apache2 Web Server


You can either link up the modules yourself like this:

ln -s /etc/apache2/mods-available/userdir.conf /etc/apache2/mods-enabled/userdir.conf
ln -s /etc/apache2/mods-available/userdir.load /etc/apache2/mods-enabled/userdir.load

Or you can use the Apache utility

a2enmod userdir

Just remember to restart the server with

/etc/init.d/apache2 force-reload

Also, keep in mind that by default, the home directory for your user will need to require a public_html directory.


Tagged w/ #linux