Re: [users@httpd] Virtual host not being properly handled.

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

 



Davide Bianchi wrote:
Jessica Rasku wrote:

# Virtual host Default Virtual Host
<VirtualHost *:80>
       ServerSignature email
       ServerName www.armispiansystems.ca
       DirectoryIndex index.php index.html index.htm index.shtml
       LogLevel debug
       HostNameLookups off
</VirtualHost>

# Virtual host Gender Outlaws
<VirtualHost *:80>
       DocumentRoot /var/www/gender/html
       ServerAdmin jrasku@xxxxxxxxxxxxxxxx
       ServerName genderoutlaws.com
       ServerAlias *.genderoutlaws.com
       DirectoryIndex index.php index.html index.htm index.shtml
       ServerSignature email
       CustomLog logs/gender/access_log combined
</VirtualHost>\


How is that your 'default' Virtual Host doesn't have a DocumentRoot entry ?

OK, that's an issue, it works, but thank you for pointing that out. It seems that something I did fixed the problem with the genderoutlaws virtual host. I should probably move some of the configuration that is for ``all hosts'' into the default virtual host configuration. That's where it should be. Thanks for pointing that out.

							Jessica

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