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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to