httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert T Wyatt <robert.wy...@mail.utexas.edu>
Subject Re: [users@httpd] AliasMatch Problem - %2f in URL causes 404
Date Wed, 16 May 2007 13:31:25 GMT
malone wrote:
> I have an AliasMatch line as follows
>
> AliasMatch ^/(.*) "/var/www/localhost/htdocs/test.php"
>
> My aim is to make any URL be handled by the PHP script. This works great
> for all URLs, unless they have %2f in them, e.g.
>
> http://127.0.0.1/foo%2fbar
>
> Instead of running the PHP script apache returns a 404 error. %2f
> decodes to the "/" character, so I assume that is causing problems
> somewhere. I also notice on my windows machine that %5c ("\") causes the
> same problem.

Sorry I don't have any real help here, but I think the backslash
character is %2c (not %5c).

[using this for a reference:
http://www.w3schools.com/tags/ref_urlencode.asp]

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message