Re: [EMAIL PROTECTED] URL Encoding

2008-08-07 Thread Erling Wegger Linde
Well, since Apache gets confused when itself decodes the URL - it won't even pass it on decoded.. That's the biggest issue. But furthermore as only one part of the URL is encoded.. e.g. projects/{encoded} how should I make this generic? E.g. if(wasEncoded) encode... I'm now using Base64 encoding

Re: [EMAIL PROTECTED] URL Encoding

2008-08-07 Thread André Warnier
Erling Wegger Linde wrote: However, Apache seem to decode this URL before it passes it forward to Tomcat. I believe that this is what it's supposed to do. Can't you just re- URL-encode the URL before you let it be forwarded further ?

Re: [EMAIL PROTECTED] URL Encoding

2008-08-06 Thread Erling Wegger Linde
I think this is the relevant part for my config: AuthType Basic AuthName ... AuthUserFile ... Require valid-user Order deny,allow Allow from all ProxyPass /projects http://localhost:8180/projects/projects nocanon ProxyPassReverse /projects http://localhost:8180/projects/projects (well the dou

Re: [EMAIL PROTECTED] URL Encoding

2008-08-06 Thread Krist van Besien
On Wed, Aug 6, 2008 at 18:00, Erling Wegger Linde <[EMAIL PROTECTED]> wrote: > But it didn't.. hmm.. that's weird.. > > Any other ideas? Maybe your problem is something different. From the looks of it apache is trying to find something locally that you want it to look for somewhere else. Maybe you

Re: [EMAIL PROTECTED] URL Encoding

2008-08-06 Thread Erling Wegger Linde
But it didn't.. hmm.. that's weird.. Any other ideas? Thanks, - Erling On Wed, Aug 6, 2008 at 5:52 PM, Erling Wegger Linde <[EMAIL PROTECTED]> wrote: > Thanks, > > From http://httpd.apache.org/docs/2.2/mod/mod_proxy.html it looks like > it should do the trick =) > > On Wed, Aug 6, 2008 at 3:48 P

Re: [EMAIL PROTECTED] URL Encoding

2008-08-06 Thread Erling Wegger Linde
Thanks, >From http://httpd.apache.org/docs/2.2/mod/mod_proxy.html it looks like it should do the trick =) On Wed, Aug 6, 2008 at 3:48 PM, Nick Kew <[EMAIL PROTECTED]> wrote: > On Wed, 6 Aug 2008 15:02:42 +0200 > "Erling Wegger Linde" <[EMAIL PROTECTED]> wrote: > >> Hi, >> >> I want "/projects/htt

Re: [EMAIL PROTECTED] URL Encoding

2008-08-06 Thread Nick Kew
On Wed, 6 Aug 2008 15:02:42 +0200 "Erling Wegger Linde" <[EMAIL PROTECTED]> wrote: > Hi, > > I want "/projects/https%3A%2F%2Fwiki.miles.no%2Fdisplay%2FMPL" not to > be decoded by Apache Doesn't nocanon fix it for you? (sorry, can't remember full details). -- Nick Kew Application Development w

[EMAIL PROTECTED] URL Encoding

2008-08-06 Thread Erling Wegger Linde
Hi, I want "/projects/https%3A%2F%2Fwiki.miles.no%2Fdisplay%2FMPL" not to be decoded by Apache I get the following error: "The requested URL /projects/https://wiki.miles.no/display/MPL was not found on this server" As you can see, Apache has decoded the URL I use ProxyPass(Reverse) for /projec