[Gllug] mod rewrite
Sean Burlington
sean at uncertainty.org.uk
Thu Sep 22 12:55:46 UTC 2005
Tom Schutzer-Weissmann wrote:
>
> Don't know about simplicity, but in terms of readability:
> - isn't REQUEST_URI assumed by default, so you could leave that out?
I hadn't noticed that :-)
> - a series of multiple RewriteCond clauses applies in combination to the
> RewriteRule that follows it, so instead of one long line separated by
> "|"s you could have
>
> RewriteCond ^/photos
> RewriteCond ^/reporttool
>
thanks, that looks good - I really need to apply the same set of
conditions to a number of rules - is there a way of doing this other
than repeating all the conditions each time?
--
Sean
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list