httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edward...@ita.org.mo
Subject Re: [users@httpd] setting up virtual hosting
Date Thu, 22 Feb 2007 14:12:16 GMT
matt farey wrote:

>Sam Carleton wrote:
>  
>
>>On 2/22/07, Boyle Owen <Owen.Boyle@swx.com> wrote:
>>
>>    
>>
>>>>I am back at it and it simply is NOT working.  No matter what I do, I
>>>>cannot get to the default web site.
>>>>        
>>>>
>>>It is not clear what you mean by "default web site". Once you start
>>>using VHs, the "default web site" becomes the *first* VH in the config.
>>>So if you hit the server using IP address only (no hostname) you should
>>>get the *first* VH. Is this what happens? If not, what site *do* you
>>>get?
>>>      
>>>
>>Owen,
>>
>>I get what I consider the secondary site.  Which is exactly why I
>>asked the following question:
>>
>>    
>>
>>>>In years past (like five years ago) I had been successful in doing
>>>>        
>>>>
>>>thing,
>>>      
>>>
>>>>but that was back when there was only one httpd.conf file.  This SuSE
>>>>setup has a ton of files.  Is there some way I can make apache tell me
>>>>what it sees as the configuration?
>>>>        
>>>>
>>Is there any way for me to get apache to display the config, the way
>>it sees it?  I am guessing I have something backwards so that what I
>>want as the default site is getting consumed after the site I want as
>>the secondary.
>>
>>Sam
>>
>>    
>>
>
>
>I should add that the setup before assumed you used a router with port
>forwarding to get requests to your server from the internet, not a
>modem, and that you have a static public IP of 66.67.68.69, if you dont
>have a static IP or if your server is bound to the public IP, then just
>set apache to listen on that IP too using an extra
>Listen 66.67.68.69:80 statement, and change the
><VirtualHost 192.168.0.4:80>
>to
><VirtualHost *:80>
>
>matt
>
>
>---------------------------------------------------------------------
>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
>
>
>  
>
Hello,

I think you may go to http://httpd.apache.org/docs/2.0/vhosts/ for
reference...

Edward.

Mime
View raw message