Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

apache 2.0.47 on windows - vhost config problem

 
   Web Hosting Problem Solving Community! (Home) -> Apache RSS
Next:  VHost Q again  
Author Message
jkozik

External


Since: Dec 06, 2003
Posts: 1



(Msg. 1) Posted: Sat Dec 06, 2003 10:40 pm
Post subject: apache 2.0.47 on windows - vhost config problem
Archived from groups: alt>apache>configuration (more info?)

I've got a problem with configuration of vhost it's my http.config:

NameVirtualHost *
#---------------------------- VHosts ------------
<VirtualHost *>
ServerAdmin webmaster.DeleteThis@samba.local.pl
DocumentRoot "C:/http/vhost0/htdocs"
ServerName host_0
</VirtualHost>

<VirtualHost *>
ServerAdmin webmaster.DeleteThis@samba.local.pl
DocumentRoot "C:/http/vhost1/htdocs"
ServerName host_1
</VirtualHost>

but its not working - it's based on one local IP - what do I do wrong ???

please help - JK

 >> Stay informed about: apache 2.0.47 on windows - vhost config problem 
Back to top
Login to vote
none49

External


Since: Dec 06, 2003
Posts: 2



(Msg. 2) Posted: Sat Dec 06, 2003 10:40 pm
Post subject: Re: apache 2.0.47 on windows - vhost config problem [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Change your server name to the name of the site like <a style='text-decoration: underline;' href="http://www.thatsite.com." target="_blank">www.thatsite.com.</a>

<VirtualHost *>
ServerAdmin webmaster.DeleteThis@thatsite.com
DocumentRoot "d:/web/thatsite_com/www"
ServerName <a style='text-decoration: underline;' href="http://www.thatsite.com" target="_blank">www.thatsite.com</a>
ErrorLog "d:/web/thatsite_com/logs/thatsite_com-error_log.log"
CustomLog "d:/web/thatsite_com/logs/thatsite_com-access_log.log"
combined
</VirtualHost>

This is a copy and paste from my live webserver. Your problem might not be
the vhost lines but other settings in your httpd.conf file. Try looking
there to make sure its listening on the correct IP/host name. It can be a
number of things. Hard to say without seeing the httpd.conf file.

HTH

JBowler

"NEWS TPI" <jkozik.DeleteThis@poczta.onet.pl> wrote in message
news:bqt7rs$70n$1@atlantis.news.tpi.pl...
 > I've got a problem with configuration of vhost it's my http.config:
 >
 > NameVirtualHost *
 > #---------------------------- VHosts ------------
 > <VirtualHost *>
 > ServerAdmin webmaster.DeleteThis@samba.local.pl
 > DocumentRoot "C:/http/vhost0/htdocs"
 > ServerName host_0
 > </VirtualHost>
 >
 > <VirtualHost *>
 > ServerAdmin webmaster.DeleteThis@samba.local.pl
 > DocumentRoot "C:/http/vhost1/htdocs"
 > ServerName host_1
 > </VirtualHost>
 >
 > but its not working - it's based on one local IP - what do I do wrong ???
 >
 > please help - JK
 >
 ><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: apache 2.0.47 on windows - vhost config problem 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2994



(Msg. 3) Posted: Sat Dec 06, 2003 10:40 pm
Post subject: Re: apache 2.0.47 on windows - vhost config problem [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

NEWS TPI <jkozik.TakeThisOut@poczta.onet.pl> wrote:
 > but its not working

"its not working" means? If you ping host_0 or host_1 do you
get an answer? What happen when you access host_0 using a browser?
What should happen?

Davide<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: apache 2.0.47 on windows - vhost config problem 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]