How does ip/~username point to public_html instead of /home/username in server.
Solution : Its done by “UserDir”
httpd.conf might have an entry as below :
=================
root@server [~]# grep UserDir /usr/local/apache/conf/httpd.conf UserDir public_html root@server [~]#
=========================
Thats what is specifying the document root.
By default "UserDir" is enabled.
To disable we can use :
UserDir disabled user4 user5 user6
http://httpd.apache.org/docs/2.0/mod/mod_userdir.html
« Prev:scp and rsync timestamp
How to increase the swap space in linux server:Next »