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:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old August 25th, 2000, 07:18 AM
thanga_babu thanga_babu is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Location: ch,tn,in
Posts: 3 thanga_babu User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to thanga_babu
hi there,
just got apache(ver 1.3.12)running on my nt workstation. every thing's all right except for the virtual hosts. i've got 5 ips for my machine(200.100.50.75-79, thanks to my admin who's been very co-operative). my machines name is it11.

when i type http://it11 in my browser, apache welcome message shows up. but when i type any of the ips (200.100.50.75-79) apache doesnt show up. what should i include in the <VirtualHost> tag.
i tried this

<VirtualHost 200.100.50.75>
ServerRoot "c:/program files/apache group/apache/htdocs/"
ServerName it11
</virtuaHost>

<VirtualHost 200.100.50.76>
ServerRoot "c:/program files/apache group/apache/htdocs/"
ServerName it11
</virtuaHost>

and so on....

they do not seem to work.

some body pls help me out....
regards,
p.thanga babu

Reply With Quote
  #2  
Old August 25th, 2000, 01:17 PM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
You need to RTFM. Start here -> http://www.apache.org/docs/vhosts/index.html
Specifically here -> http://www.apache.org/docs/vhosts/ip-based.html

Also check out-> http://www.devshed.com/Talk/Forums/Forum15/HTML/000142.html

>>ServerRoot "c:/program files/apache group/apache/htdocs/"

Are you sure it's not DocumentRoot c:/program files/apache group/apache/htdocs ?

You also need to specify a <Directory "c:/program files/apache group/apache/htdocs"> something like this..

note: there is no trailing slash after "htdocs"

[This message has been edited by freebsd (edited August 25, 2000).]

Reply With Quote
  #3  
Old August 28th, 2000, 08:14 AM
thanga_babu thanga_babu is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Location: ch,tn,in
Posts: 3 thanga_babu User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to thanga_babu
thanks for your reply,
i got my apache configured on my nt that supports virtual hosts. this is a great moment.

but this is for all those poor heads that are struggling to get virtual hosts running on their nt. this is not given in any of the documents (atleast, as for as i could search). all i did was...

Listen *:80
BindAddress *
Port 80

<VirtualHost 200.100.50.75>
ServerAdmin thanga_babu@200.100.50.75
DocumentRoot "C:/Program Files/Apache Group/Apache/htdocs"
ServerName 200.100.50.75
</VirtualHost>

<VirtualHost 200.100.50.76>
ServerAdmin thanga_babu@200.100.50.76
DocumentRoot "C:/Program Files/Apache Group/Apache/htdocs"
ServerName 200.100.50.76
</VirtualHost>

and there i got my apache supporting vh.

thanks for your help.

regards,
p.thanga babu

[This message has been edited by thanga_babu (edited August 28, 2000).]

Reply With Quote
  #4  
Old August 28th, 2000, 04:22 PM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
You need to point your DocumentRoot to different folder, otherwise, it defeats the purpose of using vhost.

>>ServerAdmin thanga_babu@200.100.50.75

Email host can't be IP address. Do you have a domain at all?
Are you able to ping all 5 IPs from your nt box?

>>this is not given in any of the documents (atleast, as for as i could search). all i did was...

Have you read http://www.apache.org/docs/vhosts/ip-based.html ?

I suggest you to get ONE vhost to work at a time.

Reply With Quote
  #5  
Old August 28th, 2000, 11:18 PM
thanga_babu thanga_babu is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Location: ch,tn,in
Posts: 3 thanga_babu User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to thanga_babu
sure, thanks. i understand the use of vhosts. but that was only a test & it worked fine. i am now able to simulate my corp's webserver.

regards,
p.thanga babu

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > virtual host on windows nt


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

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

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





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