You don't have permission to access / on this server.


 
Thread Tools Search this Thread
Top Forums Web Development You don't have permission to access / on this server.
# 1  
Old 05-21-2009
You don't have permission to access / on this server.

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
# 2  
Old 05-21-2009
The owner of your webserver process must have the proper permissions.

Please post more details, cut-and-paste your error messages (use code tags).
# 3  
Old 05-21-2009
I'm the owner of the server (it is apache on mac osx leopard)


Code:
<!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
# 4  
Old 05-21-2009
Quote:
Originally Posted by aneuryzma
I'm the owner of the server (it is apache on mac osx leopard)
You need to post the output of your process table showing the running httpd / apache processes and your file permissions.
# 5  
Old 05-21-2009
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
# 6  
Old 05-21-2009
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
# 7  
Old 05-21-2009
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
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Proxy Server

How to use Squid on Linux to control certain IP to access Web Server and certain IP cannot access?

Dear all experts here, :) I would like to install a proxy server on Linux server to perform solely to control the access of Web server. In this case, some of my vendor asked me to try Squid and I have installed it onto my Linux server. I would like know how can I set the configuration to... (1 Reply)
Discussion started by: kwliew999
1 Replies

2. Red Hat

User permission access

Hi folks, I am trying to grant the access like below items using the setfacl command, but i couldn't achieve as what I required. any other possibility. username : testing Readonly access in /form_dl/system/prd/logs Write only access in /form_dl/system/prd/deploy No access to other... (0 Replies)
Discussion started by: gsiva
0 Replies

3. UNIX for Dummies Questions & Answers

Change unix permission when I don't own the file

Hi, A file is transferred from a Windows server(say username : user1) to Unix server via ftp. In unix, the permission of the file for a user, say user2 will be "-rw-r-----". Since the user1 is the owner of the file, user2 is not able to change the file permission using chmod. Is there... (5 Replies)
Discussion started by: merin
5 Replies

4. Solaris

setfacl don't change permission on group owner

I try to use setfacl command to change the permission of the group primary it does not accept the command , it really accept but don't change the permission on the group. the point here I read that if I use chmod command on group primary the mask changed, but if I use setfacl mask should not... (0 Replies)
Discussion started by: hard_revenge
0 Replies

5. UNIX for Advanced & Expert Users

about the access permission of users home directory

RHEL5.0 As we know, when root create a new user, a new home directory will be created : /home/user I want to know what determine the access permission of /home/user . Thanks! (1 Reply)
Discussion started by: cqlouis
1 Replies

6. Red Hat

httpd : You don't have permission

i have httpd installed on RHEL5 webserver but i have linked #ln -s /rhelREPO /var/www/html/rhel5 /rhelREPO contains all 5cds of RHEL and it is a mount of /dev/sdb1 ip: 192.168.1.133 :works /var/www/html/index.html content is in browser ip: 192.168.1.133/rhel5 :does not work... (1 Reply)
Discussion started by: dplinux
1 Replies

7. Solaris

Solaris 10 / NetApp volumes - Forbidden: You don't have permission to access...

Hi all We have a couple of solaris zones running a jboss app in a cluster. Each zone has a shared netapp volume mounted to /app/xxx with everything under that subdir apart from jboss which is local to each zone in /app/jboss-3.2.5 There is a symlink in /app/xxx/jboss-3.2.5 which points to... (0 Replies)
Discussion started by: skewbie
0 Replies

8. UNIX for Dummies Questions & Answers

Will i see a file/dir I don't have read access to

Hi all, if I have a dir with a mixture of files and directories in it and one of the directories *only* has read permission for the owner and I am not the owner - will I see it with an 'ls -la'. I do not have access to a unix box at present to try this out. Any thoughts gratefully received (1 Reply)
Discussion started by: ajcannon
1 Replies

9. Shell Programming and Scripting

access permission

hi, I have an account (i.e. abc) which is set up to sftp files from server A to server B; on server B, I have an account (i.e. def) which I use to perform various operation which include invoke certain scripts to execute my java programs. These programs use the files received from server... (2 Replies)
Discussion started by: mpang_
2 Replies

10. UNIX for Dummies Questions & Answers

permission access

i did a search before posting i want to know how to change the permission access for a file / directory. i cant find it in my UNIX book thanks a lot edit: i also need to know what chmod option will allow you to change the permissoin access for a directory and all files and... (2 Replies)
Discussion started by: Combat Form
2 Replies
Login or Register to Ask a Question