httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From LuKreme <krem...@kreme.com>
Subject [users@httpd] Re: how do I *define* a default virtual host
Date Tue, 15 Sep 2009 20:13:57 GMT
On 15-Sep-2009, at 09:34, Jan G.B. wrote:
> 2009/9/15 LuKreme <kremels@kreme.com>
>> I always put my default VirtualHost directly into the httpd.conf  
>> file, just
>> before the Include line.
>>

> I'd say this way it's always unclear which is the default vhost. As  
> you
> have to dig through <config_file> instead of just issuing a `cat
> /etc/apache2/sites-enabled/*` or just `ls`.

apachectl -S

> As the example shows, there's also no easy way of disabling the vhost
> on-the-fly  (ie: rm <symlink>). ;-)

I've never needed to disabled vhosts completely like that.

However, I thought if you had NameVirtualHost set and had no Vhosts  
directives that was an error in configuration.


-- 
Women and cats will do as they please, and men and dogs should
	relax an get used to the idea.


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


Mime
View raw message