httpd-wiki-changes mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Httpd Wiki] Update of "13PermissionDenied" by MarkWatts
Date Fri, 24 Sep 2010 12:40:32 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change notification.

The "13PermissionDenied" page has been changed by MarkWatts.
http://wiki.apache.org/httpd/13PermissionDenied?action=diff&rev1=14&rev2=15

--------------------------------------------------

  
  '''DO NOT''' set files or directories to mode 777, even "just to test", even if "it's just
a test server". The purpose of a test server is to get things right in a safe environment,
not to get away with doing it wrong.  All it will tell you is if the problem is with files
that actually exist.
  
+ = (13)Permission denied: proxy: HTTP: attempt to connect to 127.0.0.1:8080 (localhost) failed
=
+ 
+ This error is not really about file permissions or anything like that.
+ What it actually means is that httpd has been denied permission to connect to that IP address
and port.
+ 
+ The most common cause of this is due to SELinux not permitting httpd to make network connections.
+ 
+ To resolve it, you need to change an SELinux boolean value (which will automatically persist
across reboots).
+ You may also want to restart httpd to reset the proxy worker status, although this isn't
strictly required.
+ 
+ {{{
+ # setsebool -P httpd_can_network_connect 1
+ }}}
+ 
+ For more information on how SELinux can affect httpd, read the httpd_selinux man page.
+ 

Mime
View raw message