-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael D. Berger wrote:
> The following:

>    RewriteCond %{REQUEST_URI} !^.*/picts/.*$
>    RewriteRule ^/(.*/)?$ /index.cgi [L]
> 
> sends
>    GET /favicon.ico
> to index.cgi .  I would not expect this because it
> does not appear to match any pattern.  Wherein do
> I err?

The REQUEST_URI is /favicon.ico, and this matches !^.*/picts/.*$ - that
is, it's a string that doesn't contain /picts/ anywhere in it.
It also matches the RewriteRule pattern ^/(.*/)?$ because it starts with
a slash, and doesn't contain the optional "something followed by a slash".
So, according to this ruleset, it's supposed to rewrite that to /index.cgi

So it seems that it's doing exactly what you asked for it to do.

The real question is what you're trying to do with this rewrite ruleset,
since that's not really evident.

- --
Rich Bowen
[EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDZ8a9XP03+sx4yJMRAinPAJ9POwysuLLD6cvw34QtGTwr9vA/8QCgqiV7
GlXmSpofXjrqs8oFqDrKeB4=
=Pw6i
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
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