Re: [users@httpd] "leaking" Alias and ScriptAlias into VirtualHost sites

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

 



On Friday 09 June 2006 04:53, Terry Kennedy wrote:
> Environment: Apache/2.0.58 (FreeBSD) PHP/4.4.2 mod_ssl/2.0.58
>   OpenSSL/0.9.7e-p1 mod_perl/2.0.2 Perl/v5.8.8 Server
>
> Problem: I have a number of Alias and ScriptAlias definitions in my
> httpd.conf which I intended to apply only to my main/"real" host.
> However, they also work in each of my virtual hosts, which is not what
> I intended.

See the FAQ entry for "main vhost goes away" (or some such wording.

> Is there an easy way to restrict these to only the main host? The only
> other method I could think of was for the main host to be a "dummy" and
> change the real main content to another virtual host, moving its various
> Alias / ScriptAlias settings to that virtual host.

Yep.


-- 
Nick Kew

---------------------------------------------------------------------
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