Hello,
I've set all permissions for all on my Server folders:
chmod a+rwx ServerFolder
When I browse to localhost:8000 I receive the following error:
You don't have permission to access / on this server.
why ?
thanks
Hello,
I've set all permissions for all on my Server folders:
chmod a+rwx ServerFolder
When I browse to localhost:8000 I receive the following error:
You don't have permission to access / on this server.
why ?
thanks
The owner of your webserver process must have the proper permissions.
Please post more details, cut-and-paste your error messages (use code tags).
I'm the owner of the server (it is apache on mac osx leopard)
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /
on this server.</p>
</body></html>
thanks
You need to post the output of your process table showing the running httpd / apache processes and your file permissions.
what do you mean for "process table" ?
the error log file in apache ?
this are the permission of Sites folder (apache DocumentRoot)
drwxrwxrwx 9 aneuryzma staff 306 May 21 17:21 Sites
this is the error log
[Thu May 21 17:59:23 2009] [error] [client ::1] Directory index forbidden by Options directive: /Users/aneuryzma/Sites/
[Thu May 21 17:59:23 2009] [error] [client ::1] File does not exist: /Users/aneuryzma/Sites/favicon.ico
I would imaging you have directory indexes turned off in your configuration.
you would have:
Options -Indexes
and you would need to change it to
Options Indexes
this is the line in my config file:
Options Indexes FollowSymLinks MultiViews
for example:
ps -aux | grep httpd
or
ps -aux| grep apache
if I type
sudo ps -aux | grep httpd
ps: No user named 'x'
if I type
sudo ps aux | grep httpd
aneuryzma 1784 0.0 0.0 75532 456 s000 S+ 8:01PM 0:00.00 grep httpd
_www 1633 0.0 0.2 89032 4640 ?? S 5:34PM 0:00.18 /usr/sbin/httpd -D FOREGROUND
root 1614 0.0 0.0 75532 924 s001 S+ 5:33PM 0:00.17 pico /private/etc/apache2/extra/httpd-vhosts.conf
_www 1613 0.0 0.2 89032 4672 ?? S 5:33PM 0:00.33 /usr/sbin/httpd -D FOREGROUND
_www 1610 0.0 0.2 89032 4672 ?? S 5:33PM 0:01.13 /usr/sbin/httpd -D FOREGROUND
root 1609 0.0 0.3 87992 6468 ?? Ss 5:33PM 0:00.83 /usr/sbin/httpd -D FOREGROUND