httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Donker <l...@webpagina.nu>
Subject Re: [users@httpd] Vhosts
Date Wed, 01 Jun 2005 22:16:44 GMT
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message