Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

When i try to access my local webserver on my Macbook Pro 15".

i keep getting 403 Forbidden

I have eveything correctly set up in: my hosts en vhosts files. Also is the chmod of the directory in question 0755.

Any idea what might be the problem?

share|improve this question
    
You missed some pertinent information, like the URL you are trying to access, and what is in "toby.conf" as you describe below. –  Tim Dec 30 '11 at 16:42
    
Check apache's logfiles (access.log and error.log), they should tell you the reason. –  ott-- Dec 30 '11 at 18:59

1 Answer 1

I think that is an permissions problem. Can you please give us information which webserver you use? Ah, and which User/Group are the Owner of your www dir?

share|improve this answer
    
i use apache2 which comes standard with mac osx i have the user: toby.conf which is the user i am currently on –  Toby Dec 30 '11 at 16:10
    
Agreed. 403 -> You DID access the web server and it refused to give you the file requested. Most common reason is that the web server process doesn't have permissions to read the file. –  Chris Nava Dec 30 '11 at 16:44

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.