Demonic Posted February 18, 2008 Share Posted February 18, 2008 I have this mod rewrite: Options +FollowSymLinks RewriteEngine on RewriteRule watch/season/(.*)/episode/(.*)/(.*)/$ /index.php?action=watch&season=$1&ep=$2&id=$3 RewriteRule (.*)/$ /index.php?action=$1 The last rewrite rule works perfectly, but the first one doesn't, if I remove the last rewrite rule the first one works fine. How can I fix this? Quote Link to comment Share on other sites More sharing options...
dave420 Posted February 18, 2008 Share Posted February 18, 2008 Have you tried putting [L] after the first rewrite rule to stop it being further re-written by the next rule? Quote Link to comment Share on other sites More sharing options...
Demonic Posted February 18, 2008 Author Share Posted February 18, 2008 no never tried that *tires it now* Quote Link to comment Share on other sites More sharing options...
Demonic Posted February 18, 2008 Author Share Posted February 18, 2008 thanks it worked solved theres no solve mod any more -.-.. Quote Link to comment Share on other sites More sharing options...
dave420 Posted February 18, 2008 Share Posted February 18, 2008 No problem! As it says in the documentation - "Despite the tons of examples and docs, mod_rewrite is voodoo. Damned cool voodoo, but still voodoo". Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.