httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: [users@httpd] serving two filesystem trees "overlaid"
Date Tue, 27 Jan 2004 16:50:24 GMT

On Tue, 27 Jan 2004, Andrew Pimlott wrote:

> Is it possible (in Apache 1) to have a URL path map to two (or more)
> filesystem paths, using the first file found?  So the effect is like
> one filesystem tree overlaid on another.

> I can probably hack up some solution in mod_rewrite or mod_perl, but
> I wondered if there is a more idiomatic way to do this.  If not, can
> you think of any other way to achieve my goal?

mod_rewrite is the standard way to do this.  See "search pages in more
than one directory" under
http://httpd.apache.org/docs-2.0/misc/rewriteguide.html#url

Joshua.

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message