Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > Apache stop working

Apache stop working
Thread Tools
gustavopi
Fresh-Faced Recruit
Join Date: Aug 2006
Status: Offline
Reply With Quote
Sep 24, 2008, 05:33 PM
 
Hi. After many nights of research and a long fight with Leopard, I change the root folder of Apache succesfully. Now I test my sites inside a folder called 'www', inside other from de root of volume (root/folder/www/ here is the sites). After some time, I try to open a site from that folder and Apache returns 403, Forbidden - u dont have permission... How it is possible since I does not change anything else in Apache's ini files?
     
Diggory Laycock
Professional Poster
Join Date: Oct 2001
Location: London
Status: Offline
Reply With Quote
Sep 25, 2008, 04:38 AM
 
Does the www folder have read access for everyone? If the www user doesn't have the privileges to read the folder or its contents then you will get a 403.
     
gustavopi  (op)
Fresh-Faced Recruit
Join Date: Aug 2006
Status: Offline
Reply With Quote
Sep 25, 2008, 02:13 PM
 
Originally Posted by Diggory Laycock View Post
Does the www folder have read access for everyone? If the www user doesn't have the privileges to read the folder or its contents then you will get a 403.
Yes, but you give me an idea. I look at the previous folder and everyone was set to 'sem acesso' (no access, unvisible or something like this). I change to 'somente leitura' (reading only) and ... voilá: Apache is working again (in fact, it has been allways working, but with no access).

I think that some security upgrade modify the way the system alloy Apache read and show files and folders. 'Everyone' must have at list reading permission at root, or it will have no access to anything else either.

Thank you!
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 03:39 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,