On Wednesday 06 September 2006 8:47, Nick Wiltshire wrote: > Any ideas? posting the rewriterule you tried would be a nice first step. remember to explain the whole situation when explaining a problem you want help on
as for your example problem, here's a rewrite rule that works:
RewriteRule ^/(.*) /index.php?var=$1
this, however:
RewriteRule ^/(.*) /?var=$1
will loop infinitely for two reasons, which are fixed with this:
RewriteRule ^/(.+) /?var=$1 [R]
unfortunately that leads to a user visible change to the URL in the browser.
but it works.
--
Aaron J. Seigo
Undulate Your Wantonness
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43
Full time KDE developer sponsored by Trolltech (http://www.trolltech.com)
pgpD2Pi1StqJI.pgp
Description: PGP signature
_______________________________________________ clug-talk mailing list [email protected] http://clug.ca/mailman/listinfo/clug-talk_clug.ca Mailing List Guidelines (http://clug.ca/ml_guidelines.php) **Please remove these lines when replying

