Apache2Triad Help, Support and Development Forum Index Apache2Triad Help, Support and Development
The apache2triad help , support and development forums
 

name based vhost is not working
Click here to go to the original topic

 
       Apache2Triad Help, Support and Development Forum Index -> Apache
View previous topic :: View next topic  
Author Message
mukeshhrs



Joined: 06 Feb 2006
Posts: 7

Posted: Wed Jan 31, 2007 7:45 am    Post subject: name based vhost is not working  

when i create this vhost, my default website was replaced with vhost.what should do i ? i have apache2triad 1.5.3 on windows 2003 server.
extracts from my conf files are here...
vhosts.conf
<VirtualHost 10.216.184.4>
DocumentRoot "C:/apache2triad/htdocs/vhosts/rakesh"
ServerName rakesh.bik.in
ServerAlias www.rakesh.bik.in
ServerAdmin rakesh
ErrorLog logs/rakesh.bik.in-error_log.log
CustomLog logs/rakesh.bik.in-access_log.log common
</VirtualHost>
httpd.conf
..
..
Include C:\apache2triad\conf\vhosts.conf
Back to top  
lku homer



Joined: 29 May 2006
Posts: 104

Posted: Wed Jan 31, 2007 1:23 pm    Post subject:  

Well the first question is why are you making a new file for VHosts when they are set up already in the fttpd.conf file? Secondly, in the VHosts.conf you would need to add:
Code:
NameVirtualHost *

Also for the ServerAdmin you should use an e-mail address.
Back to top  
 
       Apache2Triad Help, Support and Development Forum Index -> Apache
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.13 © 2001, 2002 phpBB Group