You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Joshua Slive <js...@gmail.com> on 2005/09/01 00:39:47 UTC

Re: [users@httpd] Question about alias

On 8/31/05, Kevin O'Neil <ke...@verizon.net> wrote:
> Hello everyone,
> 
> I would really like help in figuring out how to do this.
> 
> I would like apache to alias all my domains images folders.
> 
> I have like 25 domains and they all use the same images folders of
> /var/www/html/domain/images
> 
> Is there a way I can use the httpd.conf to alias the /images folder to point
> to just one folder on the /var/www/html/images ?

Yes.  Simply placing
Alias /images /var/www/html/images
outside of any <VirtualHost> section will make it apply to all virtual hosts.

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