Sep 13 2015

Apache Proxy Permission Denied 503

Published by at 9:49 am under Apache,Linux

You are proxying Apache requests to another server and your browser throw a 503 error back: “Service temporarily unavailable”

Looking at the http logs in /var/log/httpd/ssl_error_log, I am getting
(13)Permission denied: proxy: HTTP: attempt to connect to (*) failed

You may also get:
AH01114: HTTP: failed to make connection to backend

SELinux is most likely enabled and denies Apache from initiating connections to the outside. Either turn off SELinux in /etc/selinux/config

Or better, add a rule exception if you want to keep a higher security level:

# setsebool -P httpd_can_network_connect 1

-P switch makes the change persistant across reboots. You may need to restart Apache:

# /etc/init.d/httpd restart

This error is reported on Apache website.

No responses yet

Trackback URI | Comments RSS

Leave a Reply