On Fri, 2005-08-19 at 11:09 -0400, Noah wrote:
Just be aware that with /that/ 'abbey' rule, you'll catch 'abbey'
*anywhere* in the URL, including as a subword of something, such as:
http://www.example.com/directory/cities/blabbeyville/coffeeshops.html
This may or may not be desired. =)
; http://labelle16.foo.bar:81/manual/ and the manual index page was displayed.
>
> The rewrite rules are not the cause of your problem.
>
> -ascs
>
> -Original Message-
> From: Nick Gushlow [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 19, 2005 1:04 PM
>
First off thanks for your help, I clicked reply not reply all before so
I wanted to say thanks publicly so I don't look too ungrateful. :-)
On Fri, 2005-08-19 at 10:57 +0200, Krist van Besien wrote:
> >
> > RewriteCond %{REQUEST_URI} !^.*abbey(.*)
>
> A better way to "short circuit" is just to a
> > RewriteCond %{REQUEST_URI} !abbey
Hmmm, that has the same effect as the condition I had before. :(
The compact rules work and look a lot neater thanks.
Nick
-
The official User-To-User support forum of the Apache HTTP Serve
On Fri, 2005-08-19 at 11:24 +0200, Axel-Stéphane SMORGRAV wrote:
RewriteLog /var/www/epp/logs/epp.rewrite.log RewriteLogLevel 9 RewriteEngine on
RewriteCond %{REQUEST_URI} !\.(php|gif|jpg|html?|css|js|doc|pdf)$
RewriteRule ^/([^/]*)/?$ /index.php?epp=$1 [L]
I compacted the rewrite
Hey guys,
I've got a working set of conditions and a rule, but I'm struggling to
add another condition/rule.
The code below is working and turns any request for http://domain/word
into http://domain/index.php?site=$1
RewriteLog /var/www/epp/logs/epp.rewrite.log
RewriteLogLevel 9
RewriteEngine o