Page 1 of 1

htaccess not working

Posted: Tue Dec 04, 2007 9:30 pm
by GeXus
I have the following in my htaccess

Code: Select all

Options +FollowSymlinks
RewriteEngine on
RewriteRule ^quizzes/(.*)/(.*)$ quizzes/?qid=$1&page=$2 [nc]
RewriteRule ^testing/(.*)/$ testing/?page=$1 [nc]
The last rule for testing simply doesn't work... I always get page not found, any ideas what is wrong?

Posted: Tue Dec 04, 2007 9:42 pm
by John Cartwright
Examples?

Posted: Wed Dec 05, 2007 1:43 am
by s.dot
When you're testing it, are you including the trailing / that you have in your rewrite rule? http://www.example.com/testing/whatever/
Just asking because you have it in that rule, but not in the first one.