Virtual Hosts don't work

This is a discussion on Virtual Hosts don't work within the Windows Web Servers forums, part of the Web Server and Related Forums category; Hi, I have vhosts turned on in httpd.conf # Virtual hosts Include conf/extra/httpd-vhosts.conf In httpd-vhosts....


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-16-2008
Gaurav
 
Posts: n/a
Default Virtual Hosts don't work

Hi,

I have vhosts turned on in httpd.conf

# Virtual hosts
Include conf/extra/httpd-vhosts.conf

In httpd-vhosts.com, I have following entries.

NameVirtualHost *:80

<VirtualHost *:80>
ServerAdmin weblogician@yahoo.com
DocumentRoot "C:/Programs/apache/httpserver/htdocs"
ServerName vishnugupta.dnsalias.com
ServerAlias vishnugupta.dnsalias.com
ErrorLog logs/vishnugupta.dnsalias.-error_log
CustomLog logs/vishnugupta.dnsalias.com.-access_log common
</VirtualHost>

<VirtualHost *:80>
ServerAdmin jivanrashmi@gmail.com
DocumentRoot C:/Programs/apache/httpserver/htdocs/JivanRashmi
ServerName www.jivanrashmi.org
ErrorLog C:/Programs/apache/httpserver/htdocs/JivanRashmi/logs/
jivanrashmi.org-error_log
CustomLog C:/Programs/apache/httpserver/htdocs/JivanRashmi/logs/
jivanrashmi.org-access_log common

<Directory c:/Programs/apache/httpserver/htdocs/JivanRashmi/>
AllowOverride All
Order Allow,Deny
Allow from All
</Directory>

</VirtualHost>

As soon as I turn on the vhosts, the server doesn't start. What am I
doing wrong?

Thanks,
Gaurav
 


Thread Tools
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:09 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0