LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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.

Notices


Reply
  Search this Thread
Old 08-07-2006, 01:23 AM   #1
leftPeg
LQ Newbie
 
Registered: Jan 2006
Posts: 19

Rep: Reputation: 0
apache 403 error even though permissions are 777


Hello.

I have an Alias set up in my httpd.conf.
When I try to access a web page in the Alias directory I am getting a 403 error. I've changed to owner of the file and all its parent directories to 'nobody' and even changed the permissions to 777 but I am still getting the 403 error. What else should I be doing?

Selinux is disabled so it shouldn'T be an issue with that.
 
Old 08-07-2006, 02:25 AM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Can you post your Alias section? The following is a basic example that works for me...
Code:
Alias /stuff /usr/local/stuff
<Directory "/usr/local/stuff">
  Options FollowSymLinks
  AllowOverride None
  Order allow,deny
  Allow from all
</Directory>
 
Old 08-07-2006, 03:18 AM   #3
leftPeg
LQ Newbie
 
Registered: Jan 2006
Posts: 19

Original Poster
Rep: Reputation: 0
Thanks for the interest.

I found out my problem. The very top directory in the path to my file had permissions of 644. I now know that a directory has to be "executable" in order for it to be read. I changed permissions to 755 and I can now view my file.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache returns 403 on file with correct permissions jon23d Linux - Newbie 4 05-23-2006 09:54 PM
APACHE Problem 2 dirs, identical permissions and security contexts, one gives 403? tones Linux - Software 2 03-13-2005 09:45 AM
Apache 403 Permissions Boffy Linux - Networking 9 08-21-2004 12:36 PM
Apache 403 Error?? jlsain Linux - Software 4 05-08-2004 04:45 PM
apache 403 error fix cortj Linux - Software 0 02-25-2003 04:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:29 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
Open Source Consulting | Domain Registration