PDA

View Full Version : .htaccess problem rerouting


Scrowler
10-06-2006, 12:25 AM
hi

i have a .htaccess file in the bds folder that has this code in it:
Options +FollowSymLinks
RewriteEngine on
RewriteRule pages/(.*)/ pages.php?id=$1

and pages.php in the folder outputs the code on the page that you can see, there is nothing in the $_GET array that i dumped to see if the variable was being passed, which it's not.

any help?

thanks alot,
scrowler

schleppel
10-07-2006, 07:37 PM
It's probably because of MultiViews, try:
Options +FollowSymLinks -MultiViews

RewriteEngine On

RewriteRule ^pages/([^/]+)/?$ /bds/pages.php?id=$1 [QSA,L]