Crazy results.

Oh, the strange things mod_rewrite does!

Crazy results.

Postby Eric Springer » Fri Apr 01, 2005 5:51 pm

Code: Select all
RewriteRule (.*).html http://www.fantastictutorials.com/catch.php?1=$1
RewriteRule (.*)/(.*).html http://www.fantastictutorials.com/catch.php?1=$1&2=$2
RewriteRule (.*)/(.*)/(.*).html http://www.fantastictutorials.com/catch.php?1=$1&2=$2&3=$3



catch.php is used by me, just to display what has been sent to to it. This thing sure returns some crazy results, I'm not sure if that's my bad design - or somethings wrong. Sometimes the values sent to catch.php is a string like 'catch.php'.

Could someone please help me with this?
Eric Springer
 

Postby Caterham » Sun Apr 03, 2005 3:41 am

Caterham
 
Posts: 690
Joined: Fri Dec 10, 2004 1:30 pm


Return to Idiosyncrasies

Who is online

Users browsing this forum: No registered users and 3 guests

cron