httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jørund Skriubakken <j.v.skriubak...@morecom.no>
Subject RE: [users@httpd] Newbe: virtual host setup
Date Fri, 28 Nov 2003 10:49:36 GMT
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?

Jørund

> -----Original Message-----
> From: Robert Andersson [mailto:robert@profundis.nu]
> Sent: 28. november 2003 11:34
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] Newbe: virtual host setup
> 
> 
> Jørund Skriubakken wrote:
> > I have a virtualhost setup; one for the external webpages and
> > another for the internal webpages.I want to restrict access so
> > that requests through the public IP address only allows requests
> > to the external webpages (i.e. with the correct hostname given in
> > HTTP request header).
> 
> Could this configuration possibly work?
> 
>     # Use NBVH on public interface
>     NameVirtualHost 123.45.67.78
>     # Use NBVH on private interface
>     NameVirtualHost 192.0.0.2
> 
>     # Public web-site
>     <VirtualHost *>
>         ServerName www.public-site.com
>         ...
>     </VirtualHost>
> 
>     # Private web-site
>     <VirtualHost 192.0.0.2>
>         ServerName private-site
>         ...
>     </VirtualHost>
> 
> I deem it would make private-site unreachable from the public 
> interface.
> 
> 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 

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