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.

/home/username/public_html

Related posts:

  1. Setting up a new ubuntu server with apache2, php, ruby on rails, rubygems, mysql, and git
  2. Rails, SSL, Ubuntu, Apache2 with Phusion on Ubuntu
  3. upgrading to latest phusion passenger 2.1.2
  4. Deploy Sintra App on Ubuntu Using Apache2 and Phusion Passenger Module
  5. Reading, Writing, Removing Files and Directories in Ruby
This entry was posted in Linux. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>