Hi all,

I have a simple rewriterule that for whatever reason is not firing. This is
on 5108R.

In my /etc/httpd/conf/vhosts/siteXX.include file I have:

  RewriteEngine On
  RewriteRule ^/([a-z\-]+).html$        /index.php?stub=$1

The idea is that a URL such as /hello-world.html becomes
/index.php?stub=hello-world and the content can be pulled from a DB.

I'm getting a 404 for known values of stub in the "blah.html" format URL,
but if I try it directly via "index.php?stub=blah" it's fine. 

I've used AllowOverride to move the rule to a .htaccess file in the site's
/web/ folder. I've deleted the site and recreated it, restarted Apache and
eventually the server too, all to no avail. 

Other RewriteRules on different sites - more complicated than this one -
work just fine.
When I recreated the site, it was saved as the same SiteID as before.

Any ideas?


Dick Dolby


_______________________________________________
Blueonyx mailing list
Blueonyx@mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx

Reply via email to