Error 13permission Denied Apache
Contents |
files will yield something like: (13)Permission denied: access to / There are a few things that could be the apache 13 permission denied access to problem: Make sure it's not denied by Apache Most apache Configurations have
Permission Denied Apache Log
something like this in there:
Error 13 Permission Denied Mac
access to all files. You should also see something like this:
Error 13 Permission Denied Filezilla
that does not fall under this /path/to/webroot apache will have denied access to it. The solution in that case is to add another Directory entry in your httpd.conf to allow access to that directory. Make sure Apache has Read, Execute Permissions The next thing to check is that Apache has read and execute permission (rx) on directories error 13 permission denied sickbeard and read permission on files. You can run chmod 750 /dir (to give -rwxr-x--- permission) or chmod 755 /dir (to give -rwxr-xr-x permission), etc. Make sure that the Directory Above has Execute Permission This is the one that tends to get me. Suppose you are creating an Alias like this: Alias /foo /tmp/bar/foo Now you have made sure that apache can read and execute /tmp/bar/foo by running chmod 755 /tmp/bar/foo, but you also need to give Apache execute permission to /tmp/bar/ otherwise it cannot traverse the sub directory foo. If Running Security Enhanced Linux (SELinux) Another possibility for this error is that you are running SELinux (Security Enhanced Linux), inwhich case you need to use chcon to apply the proper security context to the directory. One easy way to do this is to copy from a directory that does work for example /var/www/ chcon -R --reference=/var/www /path/to/webroot Tweet Permalink | Add Comment | add to del.icio.us | Tags: apache, alias, permission, httpd Related Entries Apache Security Patches on CentOS / RH
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company error 13 permission denied python Business Learn more about hiring developers or posting ads with us Stack Overflow Questions error 13 permission denied linux Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million mount error 13 permission denied ubuntu programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Apache 13 permission denied in user's home directory [closed] up vote 36 down vote favorite 9 My friend's website was working https://www.petefreitag.com/item/793.cfm fine until he moved the document root from /var/www/xxx to /home/user/xxx. Apache gives 13 permission denied error messages when we try to access the site via a web browser. The site is configured as a virtual directory. All the Apache configurations were unchanged (except for the directory change). We tried to chmod 777 /home/user/xxx, chown apache /home/user/xxx. But they didn't work. Is there some kind of security feature set on the user's home directories? http://stackoverflow.com/questions/1225594/apache-13-permission-denied-in-users-home-directory The server OS is CentOS (Godaddy VPS). Any help is appreciated! Thanks! apache permissions share|improve this question edited Oct 15 '12 at 6:32 Santosh Kumar 5,50373175 asked Aug 4 '09 at 3:18 Dave 4,48442638 closed as off topic by Will Jan 25 '11 at 13:51 Questions on Stack Overflow are expected to relate to programming within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question. 3 Should go on serverfault. –g . Aug 4 '09 at 3:21 Didn't know about that until you mentioned it =) I guess I'll give it a go. Why they keep two (maybe more?) sites anyway? Isn't it better to centralize those categories? –Dave Aug 4 '09 at 3:50 @Dave: stackoverflow.com is for programming questions; serverfault.com is for sysadmin/server questions; superuser.com is for general "power users" and other misc computer related questions. Helps people focus on their areas of expertise I suppose. –Josh Aug 4 '09 at 13:47 Can the question (and it's answers) be migrated over to serverfault - it is a good
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss http://serverfault.com/questions/557188/httpd-13-permission-denied-access-to-denied the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Server Fault http://superuser.com/questions/882594/permission-denied-because-search-permissions-are-missing-on-a-component-of-the-p Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign permission denied up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top httpd (13) Permission denied: access to / denied up vote -1 down vote favorite My question is "How do I get my httpd to work?" Whenever I try to access my http server, I get 13 permission denied an access denied 403 message. The message described on the subject is got on the logfile: /var/log/httpd/error_log Let me post the output of certain things first. My httpd.conf first. (the default one served via yum) http://pastebin.com/yQCr7GTz No virtual hosts whatsoever. The relevant lines from the conf are: ServerTokens OS ServerRoot "/etc/httpd" PidFile run/httpd.pid Timeout 60 KeepAlive Off MaxKeepAliveRequests 100 KeepAliveTimeout 15
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Super User Questions Tags Users Badges Unanswered Ask Question _ Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Permission denied because search permissions are missing on a component of the path, after chmod and chgrp up vote 8 down vote favorite 4 [core:error] [pid 5132] (13)Permission denied: [client 123.123.123.123:50398] AH00035: access to / denied (filesystem path '/var/www/mysite.com') because search permissions are missing on a component of the path I recently changed the group owner of the www folder a group called admins containing a couple user accounts, root and apache. I also used chmod to change www to 774. Ever since doing that, I get Forbidden You don't have permission to access / on this server. in 2 of my domains. /var/www/mysite.com says forbidden /var/www/mysite2.com says forbidden /var/www/html works fine. # ServerRoot: The top of the directory tree under which the server's # configuration, error, and log files are kept. # # Do not add a slash at the end of the directory path. If you point # ServerRoot at a non-local disk, be sure to specify a local disk on the # Mutex directive, if file-based mutexes are used. If you wish to share the # same ServerRoot for multiple httpd daemons, you will need to change at # least PidFile. # ServerRoot "/etc/httpd" # # Listen: Allows you to bind Apache to specific IP addresses and/or # ports, instead of the default. See also the