N-Bomb(Nerd) Posted July 25, 2011 Share Posted July 25, 2011 It took me awhile to get my first mod_write RewriteRule wrote and working properly, but I'm trying to add a second one and I'm following everything exact that I did with the first one and I'm unable to get it to work properly. Here's my .htaccess thus far: AddHandler x-mapp-php5 .php Options -MultiViews RewriteEngine On RewriteBase / RewriteRule ^.*\.(gif|png|jpg|js|css)$ - [NC,L] RewriteRule ^us/([a-z0-9-]+)$ us.php?title=$1 [NC] RewriteRule ^video/([a-z0-9-]+)$ video.php?title=$1 [NC] When I try to access the video page via: http://example.org/video/awesome-stuff I get this error: Multiple Choices The document name you requested (/video/awesome-stuff) could not be found on this server. However, we found documents with names similar to the one you requested. Available documents: /video.php/awesome-stuff (common basename) What am I doing wrong? Quote Link to comment https://forums.phpfreaks.com/topic/242689-how-do-i-fix-this/ Share on other sites More sharing options...
teynon Posted July 25, 2011 Share Posted July 25, 2011 Why do you keep posting this in the php coding help section? Quote Link to comment https://forums.phpfreaks.com/topic/242689-how-do-i-fix-this/#findComment-1246469 Share on other sites More sharing options...
N-Bomb(Nerd) Posted July 25, 2011 Author Share Posted July 25, 2011 Why do you keep posting this in the php coding help section? I think my last thread got deleted or something, because I could not find it.. where else do I put it? Quote Link to comment https://forums.phpfreaks.com/topic/242689-how-do-i-fix-this/#findComment-1246504 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.