On 7/26/07, James Ellis <[EMAIL PROTECTED]> wrote: > > RewriteEngine ON > RewriteRule ^X01_large.jpg$ footer.gif > > > ...ignored by Apache? Is it not possible to use mod_rewrite outside of a > <Directory> tag?
You have to compare to the complete URL-path. Outside of Directory or .htaccess context, most normal requests will begin with a forward slash. Inside, Apache strips off all the "redundant" info leaving you without a leading slash (and the entire leading directory or rewritebase) -- Eric Covener [EMAIL PROTECTED] --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]