SunQuest
           Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old October 26th, 2001, 01:35 PM
mickalo's Avatar
mickalo mickalo is offline
Ole` Timer
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Location: N.W. Iowa
Posts: 469 mickalo User rank is Private First Class (20 - 50 Reputation Level)mickalo User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 5 h 19 sec
Reputation Power: 8
Send a message via AIM to mickalo Send a message via MSN to mickalo
NameVirtualHost

We seem to be having a problem with our httpd.conf file, when restarting apache. We're using ver. 1.3.20. The server has an IP address 219.118.81.2 which we host about 30 virtual hosted accounts. Do we need to use the NameVirtualHost with each virtual host IP addess in the httpd.conf or do we just use one NameVirtualHost directive with the server's IP addess:
NameVirtualHost 216.118.81.2

Thanks,

Mickalo
__________________

Thunder Rain Internet Publishing

Custom Programming & Database development
Providing Personal/Business
Internet Solutions that work!

Reply With Quote
  #2  
Old October 27th, 2001, 05:48 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> Do we need to use the NameVirtualHost with each virtual host IP addess in the httpd.conf

Don't understand what you mean.

>> do we just use one NameVirtualHost directive with the server's IP addess

By default, Apache listens to all available IPs (i.e. 127.0.0.1, 192.168.0.1 and your external IP). You can do that to vhost with NameVirtualHost *. If you want just your external IP, then put NameVirtualHost 216.118.81.2. For each <VirtualHost>, use <Virtual 216.118.81.2>.

Reply With Quote
  #3  
Old October 27th, 2001, 08:11 AM
mickalo's Avatar
mickalo mickalo is offline
Ole` Timer
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Location: N.W. Iowa
Posts: 469 mickalo User rank is Private First Class (20 - 50 Reputation Level)mickalo User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 5 h 19 sec
Reputation Power: 8
Send a message via AIM to mickalo Send a message via MSN to mickalo
Thumbs up

Thanks for the info.

After some "lite" book reading last nite, I was able to better understand how it works now.

Mickalo

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > NameVirtualHost


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway