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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to