Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I just noticed that my website is denying access to everyone including myself in directories below the document root. It started doing this a few hours ago. I swear I didn't touch httpd.conf, and I haven't messed with the permissions. Even if i had they are the same as the files in the document root which are getting served just fine.
You didn't touch anything, it worked 5 hours ago, and doesn't work now? Just wanna clarify this...
Check your crons. See if something got "updated" without you doing it. Roll over the httpd.conf and see if anything sticks out (if it does, that's definitely wierd, especially if you didn't do it). Try stopping and restarting apache:
apachectl restart OR
apachectl stop
apachectl start
That is really very odd... Is it a permissions thing? Have you changed any permissions? Did an "updatedb" do something to some symlinks?
Sorry all, I'm an idiot. By saying "I didn't change anything", what I meant was "I didn't change anything except for the permissions of the directories leading to the files below the document root"
Jeez, I did that yesterday morning, you'd think someone would send an email...
To make a short story long, I was trying to make my server more secure and whatnot by making a group from which I could administer and edit the webpages from my user account, so I used some "chmod 664 *" wildcards to do the whole directory at once, including the subdirectories. I forgot that you need the execute bit to open a directory.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.