Re: [users@httpd] Question about alias

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/31/05, Kevin O'Neil <kevinslair@xxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux