Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: ProxyPass 503 errors with local host |
|
Author |
|
neingesicht
Joined: 28 Feb 2013 Posts: 2
|
Posted: Thu 28 Feb '13 21:07 Post subject: ProxyPass 503 errors with local host |
|
|
Hello,
It seems with the latest version of 2.2.24 I've had to change the ProxyPass address in http-virtualhosts to the actual address of the web server itself (Websphere / tomcat) and not the reversproxy (Apache). It seems like originally we had it looking like this more or less: ProxyPass / ajp://localhost:8009 but now have ProxyPass / ajp://webserverip:8009 and it's working that way. Which way is correct and if this isn't the correct way how do I fix this? I was getting 503 errors when it was connected to localhost (along with ajp errors) but I was able to telnet to the webserver on 8009 successfully. Any ideas would be great. Thanks! |
|
Back to top |
|
admin Site Admin
Joined: 15 Oct 2005 Posts: 692
|
Posted: Thu 28 Feb '13 21:19 Post subject: |
|
|
What happens when you change the "localhost" to "127.0.0.1" ?
In general it is not advised to use on Windows "localhost", can give issues. |
|
Back to top |
|
neingesicht
Joined: 28 Feb 2013 Posts: 2
|
Posted: Thu 28 Feb '13 21:32 Post subject: |
|
|
I guess I could have been more specific but I didn't want to put IP's in... where it says local host it was a 10.10.x.x address, so we had the actual address of the apache reverse proxy in there. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Thu 28 Feb '13 23:53 Post subject: |
|
|
Sounds more than a DNS problem than an apache problem. Did you modify your hosts file or the DNS server? |
|
Back to top |
|
|
|
|
|
|