Re: [users@httpd] Vhosts

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

 



AE wrote:

Greetings, I have a fixed IP and running apache 2.0.54. The server worked until I tried hosting another domain and created VHosts. Now, all I get is FORBIDDEN when browsed. Any ideas appreciated...

AllowOverride None
</Directory>

<Directory "C:/domain1">
 Order Allow,Deny
 Allow from All
</Directory>

<Directory "C:/domain2">
 Order Allow,Deny
 Allow from All
</Directory>

<VirtualHost 192.168.0.111:80>
 ServerName www.domain1.com:80
 DocumentRoot "C:/domain1"
</VirtualHost>

<VirtualHost 192.168.0.111:80>
 ServerName www.domain2.com:80
 DocumentRoot "C:/domain2"
</VirtualHost>

afaik you should put the directory directives *inside* the vh sections, not outside

-Patrick

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