%2F to /

Okey, I wasn't aware of that. Starting a new thread.

Experts plesae advise and here is the problem...

We are getting a dummy 404-not found error on a page wherein which the URL has %2F and it needs to be decoded as / but thats not happening. We don't use Vhost and proxy pass. We added the AllowEncodedSlashes On to the server config but still no luck. We haven't compiled the Apache with php.

thx




------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Kpadvel [ Sa, 16 Januar 2010 16:51 ] [ ID #2028960 ]

Re: %2F to /

On Sat, Jan 16, 2010 at 10:51 AM, Kpadvel <kpadvel [at] yahoo.com> wrote:
> Okey, I wasn't aware of that. Starting a new thread.
>
> Experts plesae advise and here is the problem...
>
> We are getting a dummy 404-not found error on a page wherein which the UR=
L has %2F and it needs to be decoded as / but thats not happening. We don't=
use Vhost and proxy pass. We added the AllowEncodedSlashes On to the serve=
r config but still no luck. We haven't compiled the Apache with php.

Why not use an unencoded slash in your URL if you want it treated as a slas=
h?

---
Eric Covener
covener [at] gmail.com

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Eric Covener [ Sa, 16 Januar 2010 17:11 ] [ ID #2028961 ]

Re: %2F to /

--------------------------------------------------
From: "Kpadvel" <kpadvel [at] yahoo.com>
Sent: 16 January, 2010 15:51
To: <users [at] httpd.apache.org>
Subject: [users [at] httpd] %2F to /

> Okey, I wasn't aware of that. Starting a new thread.
>
> Experts plesae advise and here is the problem...
>
> We are getting a dummy 404-not found error on a page wherein which the URL has
> %2F and it needs to be decoded as / but thats not happening. We don't use
> Vhost and proxy pass. We added the AllowEncodedSlashes On to the server config
> but still no luck. We haven't compiled the Apache with php.
>
> thx
>
>
>
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
> " from the digest: users-digest-unsubscribe [at] httpd.apache.org
> For additional commands, e-mail: users-help [at] httpd.apache.org
>

What browsers are you using? The browser should beable to convert %2f to / such
as %20 is converted to a space regardless of the location after the domain.tld/.

Thanks,
Daniel


------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Daniel Reinhardt [ Sa, 16 Januar 2010 20:38 ] [ ID #2028970 ]

Re: %2F to /

> What browsers are you using? =A0The browser should beable to convert %2f =
to /
> such as %20 is converted to a space regardless of the location after the
> domain.tld/.

Neither chrome nor firefox decode %2f or %20 in the path of a URL on
my system, the encoded form is sent verbatim.

--
Eric Covener
covener [at] gmail.com

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Eric Covener [ Sa, 16 Januar 2010 21:53 ] [ ID #2028971 ]

Re: %2F to /

Thanks. This probleem got fixed by adding AllowEncodslashes on to my ssl co=
nfig file in the vhost section. Page loads properly.

If anyone face the same problem please visit;

http://www.jampmark.com/web-scripting/5-solutions-to-url-enc oded-slashes-pr=
oblem-in-apache.html

I was using IE 7.0


--- On Sat, 1/16/10, Eric Covener <covener [at] gmail.com> wrote:

> From: Eric Covener <covener [at] gmail.com>
> Subject: Re: [users [at] httpd] %2F to /
> To: users [at] httpd.apache.org
> Date: Saturday, January 16, 2010, 2:53 PM
> > What browsers are you using?
> =A0The browser should beable to convert %2f to /
> > such as %20 is converted to a space regardless of the
> location after the
> > domain.tld/.
>
> Neither chrome nor firefox decode %2f or %20 in the path of
> a URL on
> my system, the encoded form is sent verbatim.
>
> --
> Eric Covener
> covener [at] gmail.com
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP
> Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more
> info.
> To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
> =A0=A0=A0"=A0=A0=A0from the digest: users-digest-unsubscribe [at] httpd.apache=
..org
> For additional commands, e-mail: users-help [at] httpd.apache.org
>
> =0A=0A=0A

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Kpadvel [ So, 17 Januar 2010 00:35 ] [ ID #2029000 ]

Re: %2F to /

--------------------------------------------------
From: "Eric Covener" <covener [at] gmail.com>
Sent: 16 January, 2010 20:53
To: <users [at] httpd.apache.org>
Subject: Re: [users [at] httpd] %2F to /

>> What browsers are you using? The browser should beable to convert %2f to /
>> such as %20 is converted to a space regardless of the location after the
>> domain.tld/.
>
> Neither chrome nor firefox decode %2f or %20 in the path of a URL on
> my system, the encoded form is sent verbatim.
>
> --
> Eric Covener
> covener [at] gmail.com
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
> " from the digest: users-digest-unsubscribe [at] httpd.apache.org
> For additional commands, e-mail: users-help [at] httpd.apache.org
>

They do so on every machine I have used, and that includes Windows, Linux, Unix,
and Mac.


------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Daniel Reinhardt [ So, 17 Januar 2010 12:11 ] [ ID #2029003 ]

Re: %2F to /

On 1/16/2010 9:51 AM, Kpadvel wrote:
> Okey, I wasn't aware of that. Starting a new thread.
>
> Experts plesae advise and here is the problem...
>
> We are getting a dummy 404-not found error on a page wherein which the URL has %2F and it needs to be decoded as / but thats not happening. We don't use Vhost and proxy pass. We added the AllowEncodedSlashes On to the server config but still no luck. We haven't compiled the Apache with php.

%2F is not '/' - please read your RFC 2616 very carefully, the character
'/' is a path delimiter; and %2F != '/' for purposes of the protocol, but
another character entirely. If httpd did what you have requested, it would
be riddled with security holes.


------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
wrowe [ So, 17 Januar 2010 12:54 ] [ ID #2029004 ]

Re: %2F to /

On Sun, Jan 17, 2010 at 6:11 AM, Daniel Reinhardt
<cryptodan [at] cryptodan.net> wrote:
>>> What browsers are you using? =A0The browser should beable to convert %2=
f to
>>> /
>>> such as %20 is converted to a space regardless of the location after th=
e
>>> domain.tld/.
>>
>> Neither chrome nor firefox decode %2f or %20 in the path of a URL on
>> my system, the encoded form is sent verbatim.

> They do so on every machine I have used, and that includes Windows, Linux=
,
> Unix, and Mac.

I think you're mistaken on browser decoding of both %2f and %20.

--
Eric Covener
covener [at] gmail.com

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Eric Covener [ So, 17 Januar 2010 15:10 ] [ ID #2029005 ]
Webserver » gmane.comp.apache.user » %2F to /

Vorheriges Thema: Invalid method in request application/octet-stream
Nächstes Thema: Virtualhosts - Starting from afresh