Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I'm trying to configure my apache webserver.
Does anyone know what I need to do to allow the httpd to view users directories?
(i.e. the contence of "http://192.168.0.38/~drkfir5/bits-n-bobs/" or in reality "/home/drkfir5/public_html/bits-n-bobs/")
Along the same lines, how about non-user directories? (i.e. "/scratch/"?)
Any help would be appriciated.
I RTFM but I'm not experianced at apache to understand half of it.
Hello, this is my first post at this forum, and I'm not an expert in Linux yet, but I hope I can help.
change group the home user directory to Apache (chgrp -Rv apache /home/user) and add execute to the public_html (chmod -v +x /home/user/public_html).
So did I, it works! :-)
swobodin, couldn't I just "chmod 777 /home/drkfir5" instead of changing the ownership of the directory? Because if I change ownership then I won't be able to write to the sector (unless it is changed to 777).
hw-tph, is there anywhere in particular I need to place the above code?
I like having a group to which I can add users to give them write access to the sitewide HTML directories (as opposed to their ~/public_html dirs). That way it's pretty easy to control who can do what.