On Tue, Jan 17, 2012 at 4:31 AM, André Warnier <a...@ice-sa.com> wrote:
> E.g. I would be happy if I could write this in the Apache configuration :
>
> ScriptAlias /cgi-bin/ /var/www/site1/cgi-bin/;/var/www/global/cgi-bin/
>
> and have Apache look first in the local one, then in the global one each
> time it is looking for a given script.  And similarly for other documents
> like javascript libraries.

Use mod_rewrite.  See "Search pages in more than one directory":
http://httpd.apache.org/docs/2.0/misc/rewriteguide.html

- Perrin

Reply via email to