[users@httpd] Virtual Hosts

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

 



Apache will not start. This happened when I add named-based VH. What
is wrong with my conf. Basically, I want to do name-based VH's.


Bellow is my conf:

NameVirtualHost *

<VirtualHost *>
   <Directory /var/www>
       Options FollowSymLinks
	AllowOverride None
	Allow from All
   </Directory>

    ErrorLog  "/var/www/var/log/apache_error_log"
    CustomLog 	"/var/www/html/ez/var/log/apache_access_log" common

    DirectoryIndex index.php
    DocumentRoot /var/www/
    ServerName   www.b1.com
    ServerAlias  localhost
</VirtualHost>


<VirtualHost *>
   <Directory /home/hab/www/html/ez>
       Options FollowSymLinks
	AllowOverride None
	Allow from All
   </Directory>

    ErrorLog  "/home/hab/www/html/ez/var/log/apache_error_log"
    CustomLog 	"/home/hab/www/html/ez/var/log/apache_access_log" common

    DirectoryIndex index.php
    DocumentRoot /home/hab/www/html/ez/
    ServerName   www.ez.com
    ServerAlias  admin.ez.com
</VirtualHost>

--
OOzy
Kubuntu-Dapper

---------------------------------------------------------------------
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