LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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



Reply
 
Search this Thread
Old 01-31-2003, 08:17 AM   #1
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 77
apache 403 error forbidden?


Hello,

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.

Why is my server possessed?
 
Old 01-31-2003, 08:27 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,684
Blog Entries: 54

Rep: Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955
Why is my server possessed?
It's a Baron Samedi thing.
Watch out for zombies.
Garlic and wooden stakes won't do.
 
Old 01-31-2003, 08:32 AM   #3
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
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?

Just tossin out some ideas...

Cool
 
Old 01-31-2003, 08:42 AM   #4
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Original Poster
Rep: Reputation: 77
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.

Sorry for the uproar...
 
Old 01-31-2003, 08:47 AM   #5
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Sweet, at least now you know

Cool
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
apache: 403 forbidden johnty01 Linux - Networking 5 04-05-2008 03:20 PM
apache related problem (HTTP Error 403 - Forbidden ) spandau Linux - Networking 29 09-01-2005 07:06 PM
Error 403 Forbidden access in Apache anoop_cn Linux - Software 1 09-21-2004 10:32 AM
apache error, 403 forbidden afrodocter Linux - Software 6 08-09-2004 09:35 PM
Apache 403 Forbidden quozt Linux - Networking 10 02-24-2004 05:59 PM


All times are GMT -5. The time now is 07:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration