-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Michael D. Berger wrote:
What the rules are supposed to solve is not relevant to this
discussion. This is what they are supposed to do.
Well, yes, that is what I was asking.
Do not change anything with picts in it.
You might try prefacing the
[...]
Do not change anything with picts in it.
You might try prefacing the entire thing with
RewriteRule picts - [L]
For the rule above:
Change to /index.cgi for:
/
anything that both begins and ends in /, i.e. /.*/
That might be:
RewriteRule ^/$ /index.cgi [PT,QSA]
On 10/31/05, Michael D. Berger [EMAIL PROTECTED] wrote:
The following:
...
RewriteEngine on
RewriteCond %{REQUEST_URI} !^.*/picts/.*$
RewriteRule ^/.*\.html(\?.*$)? /index.cgi$2 [L]
RewriteCond %{REQUEST_URI} !^.*/picts/.*$
RewriteRule ^/(.*/)?$ /index.cgi [L]
-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.
-Original Message-
From: Michael D. Berger [mailto:[EMAIL PROTECTED]
[...]
[...]
From: Rich Bowen [mailto:[EMAIL PROTECTED]
[...]
Michael D. Berger wrote:
The following:
RewriteCond %{REQUEST_URI} !^.*/picts/.*$
RewriteRule ^/(.*/)?$ /index.cgi [L]
sends
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Michael D. Berger wrote:
[...]
From: Rich Bowen [mailto:[EMAIL PROTECTED]
[...]
Michael D. Berger wrote:
The following:
RewriteCond %{REQUEST_URI} !^.*/picts/.*$
RewriteRule ^/(.*/)?$ /index.cgi [L]
...
The picts line is
-Original Message-
From: Rich Bowen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 01, 2005 7:24 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] unexpected RewriteRule behavior
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Michael D. Berger 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
Sorry, I forgot to mention: RH-E-WS-4 httpd-2.0.52-9.ent
Mike.
--
Michael D. Berger
[EMAIL PROTECTED]
-Original Message-
From: Michael D. Berger [mailto:[EMAIL PROTECTED]
Sent: Monday, October 31, 2005 9:24 PM
To: Apache-Users
Subject: [EMAIL PROTECTED] unexpected RewriteRule