Top Menu

Custom Search

Wednesday, September 21, 2011

Sharing on linux machines with public_html

Here are some very nice steps described to do that :
http://kimbriggs.com/computers/computer-notes/linux-notes/apache2-public_html-virtual-directories.file

To summarize:
 1. create folder "public_html" in your home
 2. Run these commands


me@myhost$ cd /etc/apache2/mods-enabled
me@myhost$ sudo ln -s ../mods-available/userdir.conf userdir.conf
me@myhost$ sudo ln -s ../mods-available/userdir.load userdir.load
me@myhost$ sudo /etc/init.d/apache2 restart




You may face problems while restarting the apache and the one I faced "No apache MPM package installed" . So install that using synaptic or apt-get. And again try restarting that apache2. It will work.




No comments: