[users@httpd] Some virtual hosts serve as expected, one doesn't...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Apache 2.0.53 running in console on WinXP Pro SP2 locally for test purposes.
 
httpd.conf Under NameVirtualHost I have 4 existing VirtualHosts that are
served correctly.
 
I want to add a new VirtualHost, I'm using the same code for each
virtualhost:
<VirtualHost *:8080>
  ServerName vhostname
  DocumentRoot /Apache2/htdocs/vhostname
  DirectoryIndex index.php
</VirtualHost>
 
Output of apache -S:
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
*:8080                 is a NameVirtualHost
         default server newvhost (C:/Apache2/conf/httpd.conf:964)
         port 8080 namevhost newvhost (C:/Apache2/conf/httpd.conf:964)
         port 8080 namevhost vhost1 (C:/Apache2/conf/httpd.conf:971)
         port 8080 namevhost vhost2 (C:/Apache2/conf/httpd.conf:978)
         port 8080 namevhost vhost3 (C:/Apache2/conf/httpd.conf:985)
         port 8080 namevhost vhost4 (C:/Apache2/conf/httpd.conf:992)
Syntax OK
 
So it appears to be correctly parsing httpd.conf
 
Whenever I attempt to browse newvhost it fails. I've tried moving newvhost's
position in the list with no effect. I can change an existing (working)
vhost's DocumentRoot to newvhost's dir and it will serve those pages so the
html/php page is not in error. I'm not doing any rewrites or .htaccess
tricks. No other options in VirtualHosts area. Rebooted too many times...
 
single access.log lists access' for existing vhosts but not newvhost, not
even errors.
 
Any ideas or suggestions?


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux