Click to See Complete Forum and Search --> : [RESOLVED] Apache Default Redirects


FearedAtheist
03-22-2010, 05:59 PM
I'm trying to work some URL rewriting in my apache server, but it seems to be hijacking some of my rules.

The site is: http://dev.superstromboli.com/

I have the following rules set up:

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /

RewriteRule ^recipes$ /recipes/
RewriteRule ^recipes/$ /recipes.php [L]
</IfModule>

The URL http://dev.superstromboli.com/recipes will get intercepted by the server and will simply go to recipes.php w/o hitting the first rule to add the trailing slash.

This is messing up a lot of my other rules and I'm not sure where this base functionality is coming from in apache.

Pre-emptive thanks for any help or suggestions.