Page 1 of 1
change zoneminder web access port from 80 to XX ZM 1.23.3
Posted: Tue Apr 06, 2010 2:06 am
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
Posted: Tue Apr 06, 2010 3:42 am
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.
cant find file
Posted: Thu Apr 08, 2010 4:55 pm
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
FOUND IT ON ANOTHER POST
Posted: Thu Apr 08, 2010 7:02 pm
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
yep foud it
Posted: Mon Apr 12, 2010 4:38 pm
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
Posted: Tue Apr 13, 2010 4:40 am
by kingofkya
you can also add a
port 80
port 100
then on all virtual hosts replace 80 with *
Posted: Tue Apr 13, 2010 5:24 am
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