apache proxypass question - service unavailable
Posted: 2017/02/23 18:37:29
Hi everybody, i have a quick question and maybe you can answer this.
I have Apache/2.4.6 (CentOS) running and some applications. I have an appliacation running on port 1880.
I am able the access the app under http://localhost:1880/ works.
I implemented a Proxy pass in the httpd restarted the service and the application but when I try to access
http://localhost/ch/ I got the error messageI am sure this is a config issue, because I can access the application wirh http://localhost:1880/ ,
Here is the Virtual Host from my httpd.conf
I used the Apache Doc, but maybe I missed something. Any ideas ?
https://httpd.apache.org/docs/2.4/mod/mod_proxy.html
All the best
I have Apache/2.4.6 (CentOS) running and some applications. I have an appliacation running on port 1880.
I am able the access the app under http://localhost:1880/ works.
I implemented a Proxy pass in the httpd restarted the service and the application but when I try to access
http://localhost/ch/ I got the error message
Code: Select all
Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Here is the Virtual Host from my httpd.conf
Code: Select all
<VirtualHost *:80>
ServerName 127.0.0.1
<IfModule mod_proxy.c>
ProxyPass /ch/ http://127.0.0.1:1880/ retry=0 timeout=5
ProxyPassReverse /ch/ http://127.0.0.1:1880/
</ifModule>
</VirtualHost>
https://httpd.apache.org/docs/2.4/mod/mod_proxy.html
All the best