Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

apache 2.0.47 on windows - vhost config problem

 
   Web Hosting and Web Master Forums (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.TakeThisOut@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.TakeThisOut@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.TakeThisOut@samba.local.pl
 > DocumentRoot "C:/http/vhost0/htdocs"
 > ServerName host_0
 > </VirtualHost>
 >
 > <VirtualHost *>
 > ServerAdmin webmaster.TakeThisOut@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: 2907



(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 RemoveThis @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:   
Related Topics:
Apache VHost config with MySQL... possible? - Morning all, I've done some searching on google and other places and found nothing that seems to fit the bill. I'd like (if possible of course) to try and work Apache VHost configs with either MySQL or a flatfile "map" type system. Has anyone ...

Apache 2.0.43 PHP 4.2.3 Windows 2000 My config .. - I got Apache 2.0.43 running on Windows 2000. I've intalled PHP 4.2.3 into c:\php-4.2.3-Win32 Both programs are binary. Im using a step by step guide from a new book i bought. The two programs were supplied with it. It says to configure apache to use..

Apache VHOST Module - Hi Group, I'm working on a ldap-based vhost modul for apache 2x. Searching for API documentation i've found many well written and helpful stuff. But I'm looking for this mysql vhost modul, to take a look at the sources. Someone know where to find it? I...

Problem with Virtual Hosts for Windows on Apache 2 - I cannot get the virutal hosts to work with Apache2 on my windows server. This is the configuration I have. Does anyone have experience configuring a Win2K machine? NameVirtualHost 219.250.125.145 &lt;VirtualHost 219.250.125.145&gt; ..

Config problem (upgrade 1.3 to 2.x :) - In my old configuration it was possible to call a url like that. http://localhost/somedirectory/somefile and he opened somefile.html, even if i didn't specified the suffix. now I upgraded to apache 2.x and this doesn't work any more :( I couldn't..
   Web Hosting and Web Master Forums (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 ]