Hello, Having difficluties with regexps...
I'm using an apache regex rule:
RewriteRule !.(gif|xml|jpg|png) /somefile.php
to redirect all traffic (other than requests for .gif, .xml, .jpg, .png files) to a specific file on my site. It then handles the request.
I've decided to do some expansion, and I've created an alias for the site called /images. However, the alias does not override the above rewrite rule.
I have a choice, I can enhance the above rule so that it ignores /images, or I can create a <Location></Location> (or is it <Directory></Directory>?) that has different rules.
Can anyone recomend the best way to do this?
Thanks,
Matthew Nuzum