change zoneminder web access port from 80 to XX ZM 1.23.3

Support and queries relating to all previous versions of ZoneMinder
Locked
JBL
Posts: 28
Joined: Mon Feb 08, 2010 4:25 am

change zoneminder web access port from 80 to XX ZM 1.23.3

Post by JBL »

hiya all

i would like to change zoneminder web access port from 80 to XX
to make it a little less accessable from the internet
and i have port 80 pluged-up to another machine a read only public file server that securty is not an issue
ZM "v1.23.3" mandrake

i used live cd on a blank hd
the fix is listed on v1.24 forum but the file is nonexistent on my 1.23.3 machine
:?
User avatar
kingofkya
Posts: 1110
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Post by kingofkya »

depending on how Apache is setup you should change Port from 80 in Apache config and also Virtual host line if its there change 80 to a *

or if lazy just do a find in you editor of choice and replace all 80s with your new port.
JBL
Posts: 28
Joined: Mon Feb 08, 2010 4:25 am

cant find file

Post by JBL »

i did a root search with show hidden files for all of thees "Apache.config"
"Apache"and on "Apache.conf"got zip but i got about 7 files or folderson the other 2
looked at all of them cant find settings you describe above
i think about 4 of them had one image in them "photo"

can you give me the path to the correct file or folder it must be somthing like this ??

/ect?/some_subfolder?/some_file?.file_extension?

oh and i used ZM LIVE disk image to create the cd_disk that i used to install "v1.23.3"

thanks for your help most appreciated

jeff :)
JBL
Posts: 28
Joined: Mon Feb 08, 2010 4:25 am

FOUND IT ON ANOTHER POST

Post by JBL »

http://www.zoneminder.com/forums/viewto ... highlight=

QUOTE

configuration files. Something like /etc/httpd/conf/httpd.conf or /etc/apache2/conf/apache2.conf. It's completely dependent on your distro though and could be in is own configuration file somewhere under /etc/httpd or /etc/apache2.

JEFF :wink:
JBL
Posts: 28
Joined: Mon Feb 08, 2010 4:25 am

yep foud it

Post by JBL »

ok i can change it but im afraid to change it yet

when i start my zm box it automaticly boots to a web window with 5 tabs running ,wouldnt i need to change the addresses of those default tabs
in ZM to reflect the port change ?

because the console is looking at http and assuming port 80
http://localhost/ZM/

so the server port will change but i think it may prevent me from accessing the zm console with default addresses for those tabs

or am i just a worry wart?

your thoughts are appriciated

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

Post by kingofkya »

you can also add a

port 80
port 100

then on all virtual hosts replace 80 with *
MarcoP
Posts: 46
Joined: Wed Mar 24, 2010 1:46 pm

Post by MarcoP »

Since you have "another machine", another valid way would be to simply use rule forwarding at firewall or router level.

external:80 forward to fileserver:80
external:81 forward to zm:80

cheers
Locked