You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Bill -OSX- Jones <sn...@mac.com> on 2002/02/27 15:21:12 UTC

rewriting filename and/or URL ?

On my OSX system I have Apache 1.3.22 w/mod_rewrite enabled -

I am trying to capture

system32  or winnt URIs but cannot seem to catch -

/scripts/..%c0%2f../winnt/system32/cmd.exe?/c+dir


I have tried and am using:
RewriteCond %{REQUEST_FILENAME} .*system32.*$    [NC,OR]

which apparently only captures -

/scripts/winnt/system32/cmd.exe?/c+dir

Why ..%c0%2f.. is causing the match to fail is somewhat confusing...


	Any ideas?
_Sx____________________
  ('>    -Sx- IUDICIUM
  //\   Have Computer -
  v_/_    Will Hack...


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