[users@httpd] Forbidden

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

 



Amazon will eventually send the Apache books, meanwhile can anyone
explain why both of my vhosted web sites display FORBBIDEN? And when
browsing http://localhost I see the Apache Success html! My
APatchyServer is v_2.0.54)
Perhaps I need to modify the .htaccess file? The docs at apache.org
aren´t helping.

I tried nesting the Directory directives "inside" the <VirtualHost>
</VirtualHost> without effect.
My W2K box has file permissions for the domain directories set to
read-only. Otherwise, all was cool when I had just one domain to host!

-----Original Message-----
From: Patrick Donker [mailto:list@xxxxxxxxxxxx] 
Sent: Thursday, June 02, 2005 12:17 AM
To: users@xxxxxxxxxxxxxxxx
Subject: Re: [users@httpd] Vhosts


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




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