How to change web GUI address

Forum for questions and support relating to the 1.24.x releases only.
Post Reply
fishface
Posts: 12
Joined: Sun May 09, 2010 1:41 am

How to change web GUI address

Post by fishface » Mon May 24, 2010 10:56 pm

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
Last edited by fishface on Mon May 24, 2010 11:05 pm, edited 1 time in total.

User avatar
kingofkya
Posts: 1111
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Post by kingofkya » Mon May 24, 2010 11:00 pm

will the best way would be to simply modify the zm apache conf it will say something like directroy /zm change to /

fishface
Posts: 12
Joined: Sun May 09, 2010 1:41 am

Post by fishface » Mon May 24, 2010 11:06 pm

Looking now...where is it located? /var/www/zm ?

User avatar
kingofkya
Posts: 1111
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Post by kingofkya » Mon May 24, 2010 11:10 pm

Depend on distro

/etc/apache
or
/etc/httpd

fishface
Posts: 12
Joined: Sun May 09, 2010 1:41 am

Post by fishface » Mon May 24, 2010 11:14 pm

debian lenny 5.04 apache2

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

fishface
Posts: 12
Joined: Sun May 09, 2010 1:41 am

Post by fishface » Tue May 25, 2010 12:16 am

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

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests