Proxypass 500 Internal Server Error
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn if you are using a dso version of mod_proxy more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags no protocol handler was valid for the url websocket Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, no protocol handler was valid for the url windows helping each other. Join them; it only takes a minute: Sign up Application error passthru when using apache mod_proxy up vote 2 down vote favorite Heyas. I'm using mod_proxy with apache2 provide vhost ability to multiple servlet apps https: failed to enable ssl support for running on the local machine. It works fine, for the most part. Requests come into apache then are directed to the application bound on a port on localhost. The app receives the request and responds, which is delivered back to the client by apache. The problem I'm having is that the application delivers 500's on errors, and mod_proxy stomps on them. Often these errors are caused in a ajax request and the error is handled in
No Protocol Handler Was Valid For The Url Https
client side javascript. For example, a call to a server side createObject(name) might throw a NameNotUniqueException , which is delivered back as a 500. The client javascript might then display an appropriate error message. When an error is thrown by the application (resulting in a 500 response to mod_proxy), then apache stomps the error message and returns 500 Internal Server Error Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. .. the stock apache server side error message. I want mod_proxy to pass the original 500 back through to the client. Is there a directive I've missed which prevents clobbering of the 500? TIA apache mod-proxy share|improve this question asked Mar 28 '10 at 4:26 Andrew Taylor 52869 What about using mod_proxy_ajp or mod_jk? Seems to me they are more tailored to connecting Apache to servlets. –Jackson Miller Mar 28 '10 at 5:51 good suggestion. The app is a standalone jetty powered dyn web engine. Perhaps I should look at jetty ajp connections. –Andrew Taylor Mar 28 '10 at 7:06 Hmm, mod_proxy seems to be the preferred method (docs.codehaus.org/display/JETTY/Configuring+AJP13+Using+mod_jk). As such, I'm surprised I've found no solution for this issue. –Andrew Taylor Mar 28 '10 at 7:19 add a comment| 1 Answer 1 active oldest votes up vote 2 down v
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the
Mod_proxy_http
workings and policies of this site About Us Learn more about Stack no protocol handler was valid for the url ajp Overflow the company Business Learn more about hiring developers or posting ads with us Server Fault Questions Tags sslproxyengine on Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how http://stackoverflow.com/questions/2531895/application-error-passthru-when-using-apache-mod-proxy it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top How do I get basic ProxyPass to work on Apache 2.2.17? up vote 0 down vote favorite I'm trying to get around the ERR_UNSAFE_PORT restriction in Chrome by making Apache reverse proxy other HTTP servers on the machine. I http://serverfault.com/questions/440249/how-do-i-get-basic-proxypass-to-work-on-apache-2-2-17 load mod_proxy with sudo e2enmod proxy I add ProxyPass /znc/ http://localhost:6667/ to my httpd.conf I restart Apache with sudo /etc/init.d/apache2 restart When I open up /znc/, I get 500 Internal Server Error. I added LogLevel debug, restarted apache, tried again, and got nothing suspicous: [Fri Oct 19 18:55:17 2012] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 0 in child 21528 for worker http://localhost:6667/ [Fri Oct 19 18:55:17 2012] [debug] proxy_util.c(1934): proxy: initialized single connection worker 0 in child 21528 for (localhost) [Fri Oct 19 18:55:17 2012] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 1 in child 21528 for worker proxy:reverse [Fri Oct 19 18:55:17 2012] [debug] proxy_util.c(1934): proxy: initialized single connection worker 1 in child 21528 for (*) [Fri Oct 19 18:55:17 2012] [notice] Apache/2.2.17 (Ubuntu) PHP/5.3.8 configured -- resuming normal operations [Fri Oct 19 18:55:17 2012] [info] Server built: Feb 14 2012 17:59:20 [Fri Oct 19 18:55:17 2012] [debug] prefork.c(1018): AcceptMutex: sysvsem (default: sysvsem) [Fri Oct 19 18:55:22 2012] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 0 in child 21532 for worker http://localhost:6667/ [Fri Oct 19 18:55:22 2012] [debug] proxy_uti
/ Sign up EN English (EN) Русский (RU) Español (ES) Français (FR) http://support.ajenti.org/topics/435-apache-24x-revese-proxy-error-500-and-502/ Deutsch (DE) Nederlands (NL) Íslenska (IS) Eesti (ET) Қазақша (KK) Українська (UK) Dansk (DA) Català (CA) Polski (PL) Sign in / Sign up General Questions 0 Under review Apache 2.4.x revese proxy error 500 and 502 Xarkam 2 years ago • updated 2 no protocol years ago • 12 Hello, I configured a wirtual host for ajenti with proxypass reverse.But I have one error 500 and 502 error's.This is my apache configuration