[thelist] Mod rewrite

Simon Perry thelist at si-designs.co.uk
Sun Nov 7 16:28:51 CST 2004

Hi All,

I'm having a problem getting mod rewrite to do quite what I want...

This is what I have so far but it just doesn't match the query string so 
that I can re insert it.

URL bin/flight-search.cgi?dest=TRV 
<http://www.charterflights.co.uk/bin/flight-search.cgi?dest=TRV> or 

RewriteCond %{QUERY_STRING} dest=([A-Z]{3})
RewriteRule ^(bin|cgi-bin)/flight-search.cgi /charter_flight.php?to=$2 

Any pointers or links to decent tutorials would be much appreciated.


More information about the thelist mailing list