Jump to content

How do I fix this?


N-Bomb(Nerd)

Recommended Posts

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?

Link to comment
https://forums.phpfreaks.com/topic/242689-how-do-i-fix-this/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.