[SDBUG] Apache Virtual hosts

Joseph A. Kitzman joseph at kitzman.org
Mon May 8 20:48:16 PDT 2006


I'm going to need a full copy of your configuration, and any includes you 
use with it (feel free to e-mail me directly).  Your problem lays elsewhere, 
it may be failing if you're including an SSL conf in there.  Just for the 
heck of it, give this a shot:

1. Specify ports whenever possible. Example: *:80 or 192.168.1.23:80
2. Open up your SSL conf, slap a :443 on it's NameVirtualHost declaration.
3. Repeat Step 1 for your SSL VirtualHost entries (Of course, s/80/443).

bash-2.05b$ diff file1 file2
18c18
< NameVirtualHost 192.168.1.23
---
> NameVirtualHost 192.168.1.23:80
34c34
< <VirtualHost 192.168.1.23>
---
> <VirtualHost 192.168.1.23:80>
43c43
< <VirtualHost 192.168.1.23>
---
> <VirtualHost 192.168.1.23:80>
51c51
< <VirtualHost 192.168.1.23>
---
> <VirtualHost 192.168.1.23:80>


-Joe



----- Original Message ----- 
From: "Al Plant" <webmaster at hawaiidakine.com>
To: "San Diego's BSD Users Group" <sdbug at sdbug.org>
Sent: Monday, May 08, 2006 7:10 PM
Subject: Re: [SDBUG] Apache Virtual hosts


> Joseph A. Kitzman wrote:
>> Attach your config, odds are it's a simple misconfiguration in the first 
>> VirtualHost declaration.
>>
>> "a box running FreeBSD accessed by ssh wont allow virtual hosts"  --  two 
>> completely unrelated items, it's a false statement.
>>
>> -Joe
>>
> Hmm... My BAD misread ssh. It was ssl wont allow vhosts. I miss read the 
> statement in the Apache Name based Virtual Hosts how-to.
>
>
> Al Plant
>
>  -- Webmaster- http://hawaiidakine.com Admin- http://freebsdinfo.org --
> Supporting Open Source Computing - - FreeBSD 4.11/6.* -- Debian Linux 3*
> "All that's really worth doing is what we do for others."- Lewis Carroll
>
> _______________________________________________
> SDBUG mailing list
> SDBUG at sdbug.org
> http://lists.sdbug.org/mailman/listinfo/sdbug
> 



More information about the SDBUG mailing list