I uncommented `UserDir public_html' in /etc/httpd/conf/httpd.conf, and now
part of this file is as given below:

=============================

    # To enable requests to /~user/ to serve the user's public_html
    # directory, use this directive instead of "UserDir disable":
    #
UserDir public_html

</IfModule>

#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.

==============================

I put index.html for user `email'. Permission are as:

For /home/email/pulic_html:

  drwxr-xr-x    2 email    email        4096 Aug 29 17:17 public_html

For /home/email/pulic_html/index.html:

  -rwxrwxrwx    1 email    email         368 Aug 29 16:50 index.html

I can access http://civil/

where civil is name of local machine, but on giving following request, it
says "ERROR 404: Not Found"

http://civil/~email/public_html/index.html

--
H.S.Rai




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to