How to host ~users in apache?
Hi! I've installed the stock apache from my slackware 11 dvd.
I just want to know how do I host users so that each of them has their own directory serving webpages. e.g. http://localhost/~user Thanks! :) |
You can use virtualhost directive to do so
http://httpd.apache.org/docs/1.3/vhosts/examples.html |
You will need to make sure Apache is compiled with mod_userdir. Check the httpd.conf and search for mod_userdir. There should be a AddModule and LoadModule for mod_userdir.
Then check the section Quote:
|
wow it worked!!! Thanks a lot guys! :)
|
All times are GMT -5. The time now is 11:45 AM. |