0

Can I configure a web service, on linux ubuntu server 12.04, to be accessed by two different network interfaces on different networks?

For example:

My server eth0 is accessed by one subnetwork and its computers can use the web service. My server eth1 is configured with another IP subnetwork, then can't to use the web service.

That's the point, how can I make two different subnetworks access the same service, avoiding this subnetworks to see each other?

1 Answers1

0

For Hg Mercurial you make sure the configuration file allows the web service to bind to all available network interfaces

web

Web interface configuration. The settings in this section apply to both the 
builtin webserver (started by hg serve) and the script you run through a 
webserver (hgweb.cgi and the derivatives for FastCGI and WSGI).

...

The full set of options is:

address
  Interface address to bind to. Default is all.