You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by v0id null <v0...@gmail.com> on 2015/02/20 16:49:46 UTC
[users@httpd] Proxy decodes URLs
So lets say I have a simple Vhost:
<VirtualHost *:80>
ServerName foobar
# proxy a tomcat server
ProxyPass /proxy-dir/context http://localhost:8080/context
</VirtualHost>
When I make a request to http://foobar/proxy-dir/context/username%40domain
Tomcat receives http://localhost:8080/context/username@domain
This is an invalid URL.
How can I prevent mod_proxy from urldecoding requests?
thanks,
--alex
Re: [users@httpd] Proxy decodes URLs
Posted by v0id null <v0...@gmail.com>.
adding the nocanon to ProxyPass fixed my problem. thank you!
On Fri, Feb 20, 2015 at 11:14 AM, Eric Covener <co...@gmail.com> wrote:
> On Fri, Feb 20, 2015 at 10:49 AM, v0id null <v0...@gmail.com> wrote:
> > How can I prevent mod_proxy from urldecoding requests?
>
>
> look for "nocanon" in the docs
>
> --
> Eric Covener
> covener@gmail.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
Re: [users@httpd] Proxy decodes URLs
Posted by Eric Covener <co...@gmail.com>.
On Fri, Feb 20, 2015 at 10:49 AM, v0id null <v0...@gmail.com> wrote:
> How can I prevent mod_proxy from urldecoding requests?
look for "nocanon" in the docs
--
Eric Covener
covener@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org