Help for NON PORT 80 users ....

Add any particular hints or tricks you have found to help with your ZoneMinder experience.
Post Reply
rollbackpc
Posts: 6
Joined: Tue Oct 03, 2006 3:15 pm
Location: Earth

Help for NON PORT 80 users ....

Post by rollbackpc »

:D Greetings...
ZM is a great program ... I'm a NOOB ... (brain washed by gorrilla M$ ... )
Set up ZM LIVE CD 1.22 ... works great within my LAN ... on PORT 80 ...
( LOVE the way it runs ! )

I'm not having great success in changing PORT 80 to some other port so I can view it remotely! ... Help ...

When I go to ROOT, edit "http.conf" file to "LISTEN 0.0.0.0:8080" (or some other port) ... How do I run ZM when "ROOT"? (ie. When a "USER", one simply opens FIREFOX and their is button for ZM CONSOLE ... )....
Be seeing you ... I am not a number, I am a free man!
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

once you have modified apache to listen on whatever port you will also need to update any shortcuts to point to that port
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
skyking
Posts: 84
Joined: Sat Nov 03, 2007 4:07 am

Post by skyking »

that's odd, because I just tried :8100 and I can get to the page, but I can't view the video.
The monitor tab opens with the proper port, but I get no image.
Fresh install of 1.23.3 on debian from apt-get install.
It works fine on 80.
timcraig
Posts: 195
Joined: Mon Dec 10, 2007 5:53 pm
Location: San Jose, CA

Post by timcraig »

I sound like you might have configured the zoneminder web directory to run on port 8100 but not the cgi-bin directory.

I assume you have an apache site configuration file like:

Code: Select all

<VirtualHost>
.
. (other stuff)
.
        <Directory>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride AuthConfig
                Order allow,deny
                allow from all
        </Directory>

. 
. (other stuff)
.
</VirtualHost>
In between the opening and closing 'VirtualHost' tags, you'll want something like:

Code: Select all

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory>
     AllowOverride None
     Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
     Order allow,deny
     Allow from all
</Directory>
skyking
Posts: 84
Joined: Sat Nov 03, 2007 4:07 am

Post by skyking »

Thank you for pointing me in the right direction!:)
that information is in the /etc/apache2/sites-enabled/000-default
configuration file, but the top line in that file reads
<VirtualHost *:80>

I changed that to <VirtualHost *:8100>
and forced a reload.

Now I can test from an outside connection.
SlovakJoe
Posts: 32
Joined: Mon Mar 17, 2008 9:27 pm

Post by SlovakJoe »

It can be aggravating because in my area Verizon DSL blocks port 80 so you have to run webservers on something else like 8080.
Post Reply