You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2006/06/21 16:46:23 UTC
DO NOT REPLY [Bug 39851] New: - mod_proxy and /error proxypass let mod_auth be broken
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39851>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39851
Summary: mod_proxy and /error proxypass let mod_auth be broken
Product: Apache httpd-2
Version: 2.0.54
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_proxy
AssignedTo: bugs@httpd.apache.org
ReportedBy: tkrah@fachschaft.imn.htwk-leipzig.de
Hello.
I am using mod_proxy and mod_auth together and got a tomcat 4.1.31 and 5.5.12
and 5.5.17, doesnt matter which tomcat version i use to test this behaviour.
I've configured mod_proxy to pass /error to localhost:8080/error, ProxyPass
/error http://localhost:8080/error, to let tomcat handlet the error pages,
defined later.
Works fine so far.
But now i get a path, which wont get proxy'ed and mentioned ProxyPass /awstats ! .
This path is also secured by mod_auth, using AuthType Basic.
Auth is working fine, it tomcat doesnt run or /error isnt mentioned to be proxied.
If tomcat is running, like it should be, and /error will be proxied, mod_auth
doesnt work anymore.
Instead of seeing the popup from browser for credentials when browsing /awstats,
i only see a white page.
Looking at http headers it shows, that a 404 is responsed from apache-coyote,
but /awstats should not get be proxied - if tomcat doesnt run, apache responses
and all works again.
Renaming /error to ProxyPass /errorpages http://localhost:8080/error and doing
an Alias /error /errorpages works fine.
But doing a ProxyPass on /error directly, doesnt work.
conclusion:
proxypass /error leaves Locations which wont get proxypasswd but answered by
apache and which are secured with mod_auth unreachable, renaming the /error path
to something else and doing and alias on this renamed path, works.
It also works if tomcat is stopped and only apache is running ( although all
defined errorpages wont work, but the auth location works now ).
Is this fine behaviour or a bug? Any hints what i can try? I read documentation
to mod_proxy and mod_auth, there is no part that's saying that i shouldnt do a
proxypass in /error.
kind regards
Torsten
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 39851] - mod_proxy and /error proxypass let mod_auth be broken
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39851>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39851
rpluem@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
------- Additional Comments From rpluem@apache.org 2006-06-21 21:20 -------
To ease analysis could you please post the complete working and the complete non
working configuration?
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 39851] - mod_proxy and /error proxypass let mod_auth be broken
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39851>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39851
tkrah@fachschaft.imn.htwk-leipzig.de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |RESOLVED
Resolution| |INVALID
------- Additional Comments From tkrah@fachschaft.imn.htwk-leipzig.de 2006-06-22 08:42 -------
Sorry - my fault, testing further it shows, that if no 401 document is found at
/error proxied location, a 404 is given and the auth request is left broken.
There has to be a 401 document declared ( any file you want ) - then proxypass
/error works, the only mystic thing i wonder is, if /error is only an Alias, it
works - whether a 401 document is declared or not, strange.
kind regards
Torsten
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org