QDB: Quote #44068
About / Latest / Random / Queue / Prefs / Donate / Submit Quote / Search

#44068 (180/334) ↑Funny ↓Awful ⚐Flag
<Xenophon> trying to redirect modules.php?name=Forums&whatever... to index.php?q=forum using mod_rewrite ; This is what I have, but doesn't seem to work:
<Toba82> nothing generally does not work.
<Xenophon>   #RewriteCond %{REQUEST_FILENAME} !-f     #RewriteCond %{REQUEST_FILENAME} !-d     #RewriteCond %{QUERY_STRING} ^name=Forums([^&]+)$   #RewriteRule modules.php index.php?q=forum [L]
<Toba82> hmmm....
<Toba82> the fact that it's all commented out may be affecting it
<Toba82> just a guess
Comment: #apache, EFNet
save page | share

About / Latest / Random / Queue / Prefs / Donate / Submit Quote / Search
14,883 quotes approved; 8,692 fermenting; karma: 189.4805