Enabling Personal Homepages on Apache 2

From SUSE Wiki

Jump to: navigation, search

Type: Tip, Application-Specific (Apache)

Tested Versions: 10.x, 9.x

Written By: Macguru

Further Modifications By: No One

Personal home page feature is very handy feature for various tasks, i.e. web design. Here is how to enable it (assuming you have Apache and YaST installed):

YaST->Network Services->HTTP Service->Modules->Edit->Userdir->Toggle Status on

YaST->System->/etc/sysconfig Editor->Network->WWW->Apache2->APACHE_CONF_INCLUDE_FILES-> set to /etc/apache2/mod_userdir.conf and press Finish.

Do not forget to restart Apache with (as root):

# rcapache2 restart

Now you can place your web pages and files into /home/your_user_name/public_html and access them http://host_name/~your_user_name

Personal tools