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

Virtual Host problems

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Apache2 segmentation fault when using SSLVerifyCl..  
Author Message
dbetts

External


Since: Dec 14, 2003
Posts: 1



(Msg. 1) Posted: Mon Dec 15, 2003 2:48 am
Post subject: Virtual Host problems
Archived from groups: alt>apache>configuration (more info?)

I am running Apache 1.3. and Freebsd 5.0. I have 1 IP with 3 virtual
host I want to use. Here is the settings for virtual host in my
httpd.conf

NameVirtualHost *
<VirtualHost *>
ServerName somename.com
DocumentRoot /usr/local/www/data/somename
</VirtualHost>

The problem is after I put the info in the virtual host and try to
restart apache. I get the response httpd unable to start.

Do I need to uncomment the line NameVirtualHost* or what. this is very
confusing. any help will do.

Thanks

 >> Stay informed about: Virtual Host problems 
Back to top
Login to vote
user2595

External


Since: Dec 10, 2003
Posts: 16



(Msg. 2) Posted: Mon Dec 15, 2003 4:32 am
Post subject: Re: Virtual Host problems [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I dont see a comment before NameVirtualHost * You definately need the
NameVirtualHost *
The only thing I can see different from your config and mine is I have the
DocumentRoot path from the default path and also a trailing /. I'm not sure
what you set your default as. Try DocumentRoot www/data/somename/ or
DocumentRoot /data/somename/
I'm not sure if it will fix your problem. Good luck

"darrell" <dbetts.DeleteThis@buckeye-express.com> wrote in message
news:vueqtvketf838dfrhlthfhe2v9m3pqupq6@4ax.com...
 > I am running Apache 1.3. and Freebsd 5.0. I have 1 IP with 3 virtual
 > host I want to use. Here is the settings for virtual host in my
 > httpd.conf
 >
 > NameVirtualHost *
 > <VirtualHost *>
 > ServerName somename.com
 > DocumentRoot /usr/local/www/data/somename
 > </VirtualHost>
 >
 > The problem is after I put the info in the virtual host and try to
 > restart apache. I get the response httpd unable to start.
 >
 > Do I need to uncomment the line NameVirtualHost* or what. this is very
 > confusing. any help will do.
 >
 > Thanks<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Virtual Host problems 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Virtual host and cgi Help - iam running slackware 9.0 and apache1.3 webserver. i have set up virtualhost, and have 2 domains on my server, one of my domains(mydoamin2) canīt execute cgi, the other can. I get this in my error.log "Options execCGI is off in this directory"...

Virtual host - Redhat 9.0 [root@linux bin]# ./apachectl start [Sun Aug 17 11:53:43 2003] [warn] module mod_php4.c is already added, skipping [Sun Aug 17 11:53:43 2003] [warn] module php4_module is already loaded, skipping [Sun Aug 17 11:53:43 2003] [warn] VirtualHost....

Virtual Host From PS? - Ok.. so I am running a server with a bunch of virtual hosts.. Someone on one of them is running a PHP script or CGI thats causing problems and im getting huge load spikes and sometimes even crashing the entire server requiring a hard reboot to fix it.. ...

virtual host problem - hi all i have add a virtual host in httpd.conf when i try to visit the url from the web my.ip/sitename all images's path point to my.ip/images how can i point image path to my.ip/sitename/images without change href from ="/images" to ="...

Virtual Host and Yucky URL - I've got two main problems with my URL that I'm sure others have run into. My site is hosted as a virtual host with static IP, data base driven and uses cgi-bin dir site. So my home URL looks like the following: ..
   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 ]