I've got a per-directory .htaccess file. It lives in /path1. I want to rewrite all requests for *.js to /path2/other.js. I'm getting a 404 error. /path2/other.js is world-readable. So far, in my testing, it seems like I can do it if I put the RewriteRule in the <virtualhost> section, but not in the per-directory .htaccess. The per-dir version rewrites /path2/other.js to path2/other.js, which of course fails. With this test RewriteRule: RewriteEngine on RewriteBase / RewriteRule ^something /tmp/list [L] in the per-dir, the rewrite log looks like: [rid#1009200a0/initial] (3) [perdir /path1/docroot/] strip per-dir prefix: /path1/docroot/something -> something [rid#1009200a0/initial] (3) [perdir /path1/docroot/] applying pattern '^something' to uri 'something' [rid#1009200a0/initial] (2) [perdir /path1/docroot/] rewrite 'something' -> '/tmp/list' [rid#1009200a0/initial] (2) [perdir /path1/docroot/] trying to replace prefix /path1/docroot/ with / [rid#1009200a0/initial] (1) [perdir /path1/docroot/] internal redirect with /tmp/list [INTERNAL REDIRECT] [rid#10091c360/initial/redir#1] (3) [perdir /path1/docroot/] add path info postfix: /path1/docroot/tmp -> /path1/docroot/tmp/list [rid#10091c360/initial/redir#1] (3) [perdir /path1/docroot/] strip per-dir prefix: /path1/docroot/tmp/list -> tmp/list [rid#10091c360/initial/redir#1] (3) [perdir /path1/docroot/] applying pattern '^something' to uri 'tmp/list' [rid#10091c360/initial/redir#1] (1) [perdir /path1/docroot/] pass through /path1/docroot/tmp How do I tell it to just use /tmp/list as a filesystem path? -jsd- --------------------------------------------------------------------- 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: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx