blaq@blaqzone.com wrote:
> If these were files requested by users' browsers, I could use the
> Apache rewrite engine to point the requests to the right directory.
> However, because the problem lies with server-side includes, I can't do
> that, right? (If I can, then I screwed up because it didn't seem to
> work.)
Note that prior to apache 2.1 mod_rewrite used in per-dir context (i.e.
..htaccess files, <directory>-containers etc.) does not act in sub requests.
But a rule in per-server context (httpd.conf, if you're using virtual
hosts, inside of that <virtualhost...>-container would work. But you
must not use the NS-flag, of course.
So it should look like
RewriteEngine on
RewriteRule ^/includes/header\.html$ /Temp/site1/includes/header.html [L]
--
Robert