XRayden Posted May 28, 2008 Share Posted May 28, 2008 i dont know f*** why, this webserver make me crazy. i normaly have no problems with subdomain in virtualhost, but this one is so much fun...... i have the website (default) www.borntobestar.tv i'm trying to ad a simple ads.borntobestar.com so that an OpenX software be installed there. so i create a new virtualhost : <VirtualHost *> DocumentRoot "/var/www/ADSERVER" ServerName ads.borntobestar.com <Directory "/var/www/ADSERVER"> Order allow,deny AllowOverride none Allow from all </Directory> </VirtualHost> then... out, the main site BECOME the virtualhost, www.borntobestar.tv now trie to install openx... wtf ? i dont know why this one is so giving me an headache... i dont know why it tries the last virtualhost, i have an virtual host setted before it that do : <VirtualHost _default_:*> DocumentRoot /var/www/html DirectoryIndex index.html index.php ScriptAlias /cgi-bin/ "/var/www/html/cgi-bin/" <Directory "/var/www/html/cgi-bin/"> AllowOverride None Options None Order allow,deny Allow from all </Directory> <Directory "/var/www/html"> Order allow,deny AllowOverride none Allow from all </Directory> </VirtualHost> Link to comment https://forums.phpfreaks.com/topic/107685-cant-create-subdomains-with-virtualhost/ Share on other sites More sharing options...
XRayden Posted May 28, 2008 Author Share Posted May 28, 2008 forgot to mention : Apache/2.2.6 (Fedora) with php5/mysql5 (not relevent) Link to comment https://forums.phpfreaks.com/topic/107685-cant-create-subdomains-with-virtualhost/#findComment-552034 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.