Broken images and Access Denied, please help
Posted: Mon Apr 03, 2006 5:56 am
Hi,
I am getting broken images and access denied message when I tried to view the streaming images. When I right click on the image and select 'view image', it returns a message:
Doing ls -al on /var/www gives me:
Content of /etc/httpd/conf/comonhttpd.conf is:
I am not sure what is causing the access denied error? I am familiar with apache setup via windows, but I am not sure what to make of the cgi-bin link in the /var/www/ directory. To me, it seems like it's looping onto itself? Where is the real cgi-bin directory?
Also, I setup a port forward via my routher say port 90. So that it goes to http://myserver:90/zm/. I added a line 'Listen 90' in httpd2.conf and it seems to work, but if I just do http://myserver/zm/ - it seems to work also.
The line 'Listen 90' was missing from the file, so I assume it is default and would think that once I added this line it would have overrided it. I the installation I have is the latest LiveCD using zm 1.21.4.
Thanks for any help.
I am getting broken images and access denied message when I tried to view the streaming images. When I right click on the image and select 'view image', it returns a message:
My ZM_PATH_ZMS is set to /cgi-bin/mph-zmsYou don't have permission to access /cgi-bin/mph-zms on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Doing ls -al on /var/www gives me:
lrwxrwxrwx 1 root root 30 Nov 25 2002 cgi-bin -> /initrd/loopfs/var/www/cgi-bin
lrwxrwxrwx 1 root root 28 Nov 25 2002 error -> /initrd/loopfs/var/www/error
lrwxrwxrwx 1 root root 28 Nov 25 2002 icons -> /initrd/loopfs/var/www/icons
lrwxrwxrwx 1 root root 27 Nov 25 2002 perl -> /initrd/loopfs/var/www/perl
Content of /etc/httpd/conf/comonhttpd.conf is:
Code: Select all
ScriptAlias /cgi-bin/ /var/www/cgi-bin/
ScriptAlias /protected-cgi-bin/ /var/www/protected-cgi-bin/
<Directory /var/www/cgi-bin>
AllowOverride All
Options ExecCGI
<IfModule mod_access.c>
Order allow,deny
Allow from all
</IfModule>
</Directory>
I am not sure what is causing the access denied error? I am familiar with apache setup via windows, but I am not sure what to make of the cgi-bin link in the /var/www/ directory. To me, it seems like it's looping onto itself? Where is the real cgi-bin directory?
Also, I setup a port forward via my routher say port 90. So that it goes to http://myserver:90/zm/. I added a line 'Listen 90' in httpd2.conf and it seems to work, but if I just do http://myserver/zm/ - it seems to work also.
The line 'Listen 90' was missing from the file, so I assume it is default and would think that once I added this line it would have overrided it. I the installation I have is the latest LiveCD using zm 1.21.4.
Thanks for any help.