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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.