Overview
On a system that has multiple network interfaces or has several IP addresses bound to a single network interface, the default behavior is for the Urchin web interface to bind to all configured IP addresses. However, may be desirable to configure Urchin to restrict administration and reporting to a single IP address.
Procedure
Restricting Urchin admin/reporting requires a simple change to the configuration file that the Urchin Apache webserver uses. Please follow these steps:
For UNIX-type systems:
- Open a command shell as the user that Urchin runs as
- cd to the directory where Urchin is installed
- Stop the Urchin webserver with the command: bin/urchinctl -w stop
- Using a text editor, open the urchinwebd.conf.template file in the var directory of the Urchin distribution
- Above the <Directory />
line,
insert the line
-
Listen XXX.XXX.XXX.XXX:port
- Restart the Urchin webserver with the command: bin/urchinctl -w start
- Stop the Urchin Services: Start->Programs->Urchin->Disable Urchin Services
- Open Windows Explorer and navigate to C:\Program Files\Urchin\var
- Using a text editor, open the urchinwebd.conf.template file
- Above the <Directory />
line,
insert the line
-
Listen XXX.XXX.XXX.XXX:port
- Restart the Urchin Services: Start->Programs->Urchin->Enable Urchin Services
Considerations