Page 1 of 1

How to change web GUI address

Posted: Mon May 24, 2010 10:56 pm
by fishface
Internally I can access the web GUI fine via http://my.server.ip/zm

I want to be able to access the GUI from outside of my network, so I configured DDNS in my router, set a forward to my.server.ip port 80 and it works, more or less.

1) When I enter http://myserver.selfip.com/ I always get the 'It works' page.

2) When I enter http://myserver.selfip.com/zm I always get the the zm web GUI which is fine except I really would like the above (1) to be the default access address to ZM web GUI logon page

In the DynDNS.com management GUI it only allows the option of IP address, for example, I currently have:

host: myserver.selfip.com :199.168.9.1

So, in a web browser when I enter myserver.selfip.com I want it to take me to ZM web GUI logon page, how do I achieve this?

I tried changing DocumentRoot and <Directory>
to /usr/share/zoneminder as per this article suggestion http://www.zoneminder.com/wiki/index.ph ... _interface

I was pretty sure this wasn't going to work as there is no 'zoneminder' directory in /usr/share, and it didn't work.

I seem to have similar issue as this post http://www.zoneminder.com/forums/viewto ... eb+address

Posted: Mon May 24, 2010 11:00 pm
by kingofkya
will the best way would be to simply modify the zm apache conf it will say something like directroy /zm change to /

Posted: Mon May 24, 2010 11:06 pm
by fishface
Looking now...where is it located? /var/www/zm ?

Posted: Mon May 24, 2010 11:10 pm
by kingofkya
Depend on distro

/etc/apache
or
/etc/httpd

Posted: Mon May 24, 2010 11:14 pm
by fishface
debian lenny 5.04 apache2

Ok, I've looked in /etc/apache2 - no 'zm' conf file, same goes for httpd.

Posted: Tue May 25, 2010 12:16 am
by fishface
Fixed it.

For my installation everything is in /var/www/zm

So I changed 'DocumentRoot ' to /var/www/zm and '<Directory>' and now it works.

Thanks for your help


:D