httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jsl...@gmail.com>
Subject Re: [users@httpd] unexpected RewriteRule behavior
Date Tue, 01 Nov 2005 15:46:58 GMT
On 10/31/05, Michael D. Berger <m.d.berger@ieee.org> wrote:
> The following:
>
>    ...
>    RewriteEngine on
>    RewriteCond %{REQUEST_URI} !^.*/picts/.*$
>    RewriteRule ^/.*\.html(\?.*$)? /index.cgi$2 [L]
>    RewriteCond %{REQUEST_URI} !^.*/picts/.*$
>    RewriteRule ^/(.*/)?$ /index.cgi [L]
> </VirtualHost>
>
> 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?

Start by using the RewriteLog to check what mod_rewrite is doing.

Joshua.

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