Page 1 of 1

Problem with permision

Posted: Mon Nov 21, 2005 7:56 pm
by germandms
many attempts finally I have compiled zm this worked, I have a capturadora kodikom with chip bt878 also works all this in suse 10,0 with kernel 2,6,13, but there is a problem when I enter http://localhost/zm when trying to add a monitor or to make any thing to see properties which is gives the message me of erro 403, that are permissions no to see the file zm.php. clear q is problem with the permissions as they to be these

Posted: Mon Nov 21, 2005 9:22 pm
by cordel
Check and make sure that the files are owned by your apache user and have read access.

Regards,
Cordel

????????

Posted: Mon Nov 21, 2005 9:45 pm
by germandms
that archives I must review I must agrgar algun usuary of zm. I can enter index but the archives php

user wwwrun
gruop www
/srv/www/htdocs/zm
/srv/www/cgi-bin/

helpmy please...

Posted: Wed Feb 01, 2006 10:23 pm
by JasonH
You're running Suse aren't you?
I've just got the same error on a clean install. It seems to be caused by the zm folder being owned by root. To fix, run the following as root.

Code: Select all

cd /srv/www/htdocs
chown wwwrun zm
chgrp www zm
*update* Sorry about this, must have changed more than one thing at once :( After a reboot it seems to be bringing back the same error message as before.

I can fix it by typing http://localhost/zm/zm.php into the browser instead of referencing the symbolic link (index.php). The symlink is owned by root and I can't seem to change this. Anybody else got any clues?

Posted: Mon Feb 13, 2006 10:04 am
by dgsconseil
another way to deal with this is to remove the symlink and add zm.php at the end of the line DirectoryIndex index.html index.html.var of your /etc/apache2/httpd.conf

then restart apache

now you can point to http://localhost/zm and zm.php is called by default