Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

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

Developer Shed Advertisers and Affiliates



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 | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap