Apache 2.4 (CentOS 7) apache issue ah01114: http: failed to make connection to backend: localhost gak bs rev
by Winanjaya from LinuxQuestions.org on (#5JYC5)
Hi All,
I am getting: tons of AH01114: HTTP: failed to make a connection to backend: localhost in /var/log/http/error.log
what happening?
==
<VirtualHost *:80>
ServerName xxx.xxxxx.xxx
ServerAlias xxx.xxxxx.xxx
ServerAdmin xxx@xxx.xxxx
DocumentRoot /var/www/html/xxxx
<Directory /var/www/html/xxxx
Options -Indexes +FollowSymLinks
AllowOverride All
</Directory>^M
ErrorLog ${APACHE_LOG_DIR}/xxx.xxxx.xxx-error.log
CustomLog ${APACHE_LOG_DIR}/xxxx.xxx.xxx.access.log combined
RewriteEngine on
RewriteCond %{SERVER_NAME} =xxx.xxx.xxx
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
Redirect permanent / https://xxx.xxx.xxx
</VirtualHost>
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName xxxx.xxx.xxx
ServerAlias xxxx.xxx.xxx
ServerAdmin xxx@xxxx.xxx
DocumentRoot /var/www/html/xxxx
<Directory /var/www/html/xxxx
Options -Indexes +FollowSymLinks
AllowOverride All
</Directory>
SSLEngine On
SSLProxyEngine On
ProxyRequests Off
ProxyPreserveHost On
ProxyPass / http://localhost:5000/
ProxyPassReverse / http://localhost:5000/
..
....
....
</VirtualHost>
</IfModule>
~
~
~
==
I am getting: tons of AH01114: HTTP: failed to make a connection to backend: localhost in /var/log/http/error.log
what happening?
==
<VirtualHost *:80>
ServerName xxx.xxxxx.xxx
ServerAlias xxx.xxxxx.xxx
ServerAdmin xxx@xxx.xxxx
DocumentRoot /var/www/html/xxxx
<Directory /var/www/html/xxxx
Options -Indexes +FollowSymLinks
AllowOverride All
</Directory>^M
ErrorLog ${APACHE_LOG_DIR}/xxx.xxxx.xxx-error.log
CustomLog ${APACHE_LOG_DIR}/xxxx.xxx.xxx.access.log combined
RewriteEngine on
RewriteCond %{SERVER_NAME} =xxx.xxx.xxx
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
Redirect permanent / https://xxx.xxx.xxx
</VirtualHost>
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName xxxx.xxx.xxx
ServerAlias xxxx.xxx.xxx
ServerAdmin xxx@xxxx.xxx
DocumentRoot /var/www/html/xxxx
<Directory /var/www/html/xxxx
Options -Indexes +FollowSymLinks
AllowOverride All
</Directory>
SSLEngine On
SSLProxyEngine On
ProxyRequests Off
ProxyPreserveHost On
ProxyPass / http://localhost:5000/
ProxyPassReverse / http://localhost:5000/
..
....
....
</VirtualHost>
</IfModule>
~
~
~
==