Web access stumping me
-
- Posts: 27
- Joined: Fri Sep 08, 2006 7:15 pm
Web access stumping me
Forbidden
You don't have permission to access /index.php on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.0 (Linux/SUSE) Server at 192.168.1.14 Port 80
OK, maybe I come home from work too fried to see the answer to this.. Is there an easy button I can push?
You don't have permission to access /index.php on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.0 (Linux/SUSE) Server at 192.168.1.14 Port 80
OK, maybe I come home from work too fried to see the answer to this.. Is there an easy button I can push?
Permissions
Did you check permissions on your web directory and your ZM directory ?
Verify that your apache user ist the owner/group of your web directories and has read/write permissions
Verify that your apache user ist the owner/group of your web directories and has read/write permissions
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
-
- Posts: 27
- Joined: Fri Sep 08, 2006 7:15 pm
Web access
I have PHP installed. I am looking through permissions, uh how do I check to see if the apache user is the owner/group of my web directories?
I have some directores owned by root-root and some owned by wwwrun-root. A little guidance is needed here because I will certainly F this up
:)
I have some directores owned by root-root and some owned by wwwrun-root. A little guidance is needed here because I will certainly F this up
:)
permissions
The command
ls -l
should give you directory listing with the owners
chown -R <user>:<group> FILE/DIRECTORY
use -R for recursive
This command changes owner and group of a file or directory
chgrp -R <group> FILE/DIRECTORY
just changes the group
chmod changes the read/write/execute permissions
ls -l
should give you directory listing with the owners
chown -R <user>:<group> FILE/DIRECTORY
use -R for recursive
This command changes owner and group of a file or directory
chgrp -R <group> FILE/DIRECTORY
just changes the group
chmod changes the read/write/execute permissions
-
- Posts: 27
- Joined: Fri Sep 08, 2006 7:15 pm
still stuck
I am still wrestling with this. Here is the error recorded in /var/log/apache2/error_log
[Wed Oct 11 18:34:23 2006] [error] [client 192.168.1.16] Symbolic link not allowed or link target not accessible: /srv/www/htdocs/index.php, referer: http://192.168.1.16/
I can see this file through conquerer so I know it exists. Anyone have an idea?
[Wed Oct 11 18:34:23 2006] [error] [client 192.168.1.16] Symbolic link not allowed or link target not accessible: /srv/www/htdocs/index.php, referer: http://192.168.1.16/
I can see this file through conquerer so I know it exists. Anyone have an idea?
You may need to change your directives in your httpd.conf (apache config file) to allow symlinks to be used.
ie.
Regards,
Corey
ie.
See apaches page at http://httpd.apache.org/docs/2.2/mod/co ... #directory for more info.<Directory /usr/local/httpd/htdocs>
Options Indexes FollowSymLinks
</Directory>
Regards,
Corey
-
- Posts: 27
- Joined: Fri Sep 08, 2006 7:15 pm
fixed, yahoo!
I was able to fix this tonight by deleting the index.php and creating a new link:
ln zm.php index.php
now I can see my cams on my network. Next will be to see them on the oter side of my NAT.
ln zm.php index.php
now I can see my cams on my network. Next will be to see them on the oter side of my NAT.
-
- Posts: 27
- Joined: Fri Sep 08, 2006 7:15 pm
NAT works
Mapped port 80 to my Zm server address (through linksys AP router) and was able to see my cams through the firewall at work.
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
good glad your sorted mate
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
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
-
- Posts: 27
- Joined: Fri Sep 08, 2006 7:15 pm
Web access begs for security
How do you password this out to keep the gremlins off? (web access)
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
turn on auth in options
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
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
-
- Posts: 27
- Joined: Fri Sep 08, 2006 7:15 pm
Got it
Thanks!
But I RTFM after I made the last post, a little bass ackwards way to do things but it works fine.
But I RTFM after I made the last post, a little bass ackwards way to do things but it works fine.