I've add the following to a
<Directory> tag in my /etc/apache2/sites-available/siteName file:
RewriteEngine on RewriteOptions Inherit RewriteRule ^blog/ /blog.cfm [R]
And I just get a 404, page not found error.
If I change the rewrite rule to this:
RewriteRule .* /blog.cfm [R]
And I visit site.co.uk then it works. But if I visit site.co.uk/blog then it still fails.
What am I doing wrong?
I'm running Ubuntu with Apache and Railo (which uses Tomcat)
I know the file in sites-available is working because it will respond to .*, but it doesn't like /blog