Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [users@httpd] Newbe: virtual host setup
- From: "Robert Andersson" <robert@xxxxxxxxxxxx>
- Subject: Re: [users@httpd] Newbe: virtual host setup
- Date: Fri, 28 Nov 2003 12:04:39 +0100
Jørund Skriubakken wrote:
> Hmm... seems like a good try. But it is not still working for me,
> maybe because I have also setup a workers2.properties file
> (in .../http/conf) inwich forwards all requests to Jetty through a
> AJP1.3/JK2 connection.
>
> Maybe the rules in workers2.properties is executed before
> httpd.conf.. anyone knows?
I do not. How about stripping that stuff, and run a clean Apache, while
getting this working? It would reduce the number of possible points of
failure, and give valuable clues as to why it doesn't work.
I would first attempt to set Apache up to only allow connections on the
private interface, then make Apache listen to the public interface (while
denying serving contents). After that, adding a VirtualHost that is bound to
all interfaces.
Another simple, if applicable, solution is:
<VirtualHost 192.0.0.2>
ServerName private-site
<Directory /path/to/private/site>
Order Deny,Allow
Deny from all
Allow from 192.0.0.0/255.255.0.0
</Directory>
</VirtualHost>
Regards,
Robert Andersson
---------------------------------------------------------------------
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
- References:
- RE: [users@httpd] Newbe: virtual host setup
- From: Jørund Skriubakken
- RE: [users@httpd] Newbe: virtual host setup
- Prev by Date: Re: [users@httpd] Newbe::localhost and 127.0.0.1
- Next by Date: [users@httpd] .NET development for apache webserver?
- Previous by thread: RE: [users@httpd] Newbe: virtual host setup
- Next by thread: RE: [users@httpd] Newbe::localhost and 127.0.0.1
- Index(es):