dustinnoe Posted May 31, 2007 Share Posted May 31, 2007 I am running apache 1.3.33 and I have the following rewriteRules #Calendar RewriteRule ^calendar$ calendar/ [R] RewriteRule ^calendar/?$ calendar.php #day view RewriteRule ^calendar/today$ calendar/today/ [R] RewriteRule ^calendar/today/?$ calendar.php?action=day&date=today RewriteRule ^calendar/([0-9]+)-([0-9]+)-([0-9]+)$ calendar/$1-$2-$3/ [R] RewriteRule ^calendar/([0-9]+)-([0-9]+)-([0-9]+)/?$ calendar.php?action=day&date=$1-$2-$3 #add event RewriteRule ^calendar/add-event/(single-day|multi-day)$ calendar/add-event/$1/ [R] RewriteRule ^calendar/add-event/(single-day|multi-day)/?$ calendar.php?action=add-event-$1 Now my problem is that no matter what I enter after calendar/ it always rewrites to calendar.php So that... calendar/today/ -rewrites to> calendar.php calendar/not_even_a_rule/ -rewrites to> calendar.php calendar/just/does/not/matter/ -rewrites to> calendar.php Also the [R] flag just seems to be ignored. This setup works great under apache 2.0, any idea why it's behaving this way? Quote Link to comment Share on other sites More sharing options...
dustinnoe Posted June 1, 2007 Author Share Posted June 1, 2007 Installed apache 2.0.59 and problem go bye-bye. I honestly think there is some sort of bug with 1.3 on WAMP. 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.