On 3/24/07, Scott Walter <[EMAIL PROTECTED]> wrote:

Hi,

I'm struggling to get an Apache rewrite rule to work.   I have a
simple rule that for a request to "a.html" will be sent to "b.html".
However the requests for "a.html" are always sent to my Rails apps.
Here is my  Apache configuration:

<VirtualHost 216.154.219.19:80>

RewriteRule ^a\.html$ b.html
</VirtualHost>

Does anyone have any ideas?


If I'm not mistaken you need to tell Apache what to do when the first part
of the rule matches.

RewriteRule ^a\.html$ b.html [R]

Pat
_______________________________________________
Mongrel-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to