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....
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 | |
|
|