durusmail: quixote-users: RewriteRule
RewriteRule
2002-05-21
2002-05-22
2002-05-22
2002-05-22
2002-05-22
2002-05-23
2002-05-24
2002-05-29
2002-05-29
2002-05-29
2002-05-29
2002-05-29
2002-05-29
2002-05-29
RewriteRule
Patrick K. O'Brien
2002-05-21
I'm curious about your RewriteRule recommendations. In the demo.txt you've
got:

    RewriteRule ^/qdemo(/.*) /www/cgi-bin/demo.cgi$1 [l]

First, shouldn't the option be [L] or [last]? You used [last] in the
web-server.txt file. I don't recall seeing a single lowercase "l" in the
Apache docs, but I could be wrong.

Second, most of the examples in the Apache docs look more like this:

    RewriteRule ^/qdemo/(.*) /www/cgi-bin/demo.cgi/$1 [last]

That's the pattern I used in my .htaccess file and it works fine. But I'm
wondering if one is better than the other. I don't claim to be an Apache
expert by any means, so I'd like to make sure I'm not overlooking anything.
Your thoughts?

---
Patrick K. O'Brien
Orbtech



reply