My mod_rewrite won't work, what's wrong?

Posted by Tim Rogers on Stack Overflow See other posts from Stack Overflow or by Tim Rogers
Published on 2010-03-14T18:38:25Z Indexed on 2010/03/14 18:45 UTC
Read the original article Hit count: 212

Filed under:
|

I have the following rewrite rule, but nothing is hapenning at all when I try to use it. I have the file in the directory server.blahblahblah.com/todo and the following is my .htaccess file:

Options +FollowSymLinks

Options +Indexes

RewriteEngine On

RewriteBase /

RewriteRule ^tasks/view/([0-9]+)?/$ controller.php?task=view&id=$1

RewriteRule ^tasks/view/([0-9]+).xml$ controller.php?task=viewxml&id=$1

RewriteRule ^tasks/new?/$ controller.php?task=new

RewriteRule ^tasks/delete/([0-9]+)?/$ controller.php?task=delete&id=$1

RewriteRule ^tasks/completed/([0-9]+)?/$ controller.php?task=complete&id=$1

RewriteRule ^tasks?/$ controller.php?task=home

Does anyone know why this won't work at all?

Thanks,

Tim

© Stack Overflow or respective owner

Related posts about mod-rewrite

Related posts about apache2