ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Apache Web-Serving with Mac OS X: Part 1
Subject:   Configuring Apache
Date:   2003-10-20 06:02:29
From:   anonymous2
Hi,


no doubt a stupid question. I can't get Apache to display my index.php file.


I put all my file in a directory "Users/marc/Sites/wwwweb". The main page = index.php. I want to server this through Apache but Apache keeps telling me


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


I checked te following:


> httpd runs as user www
from httpd.config:
User www
Group www


I did
sudo chown -R www:www /Users/marc/Sites/wwwweb"


httpd is started as root (sudo apachectl start) because using "apachectl start" I got a errmsg "Could not bind to port 80" in the error log.


index.php is added to " DirectoryIndex" in httpd.config;
"addmodule" and "loadmodule" for php are uncommented;
"addtype" for php is added


I have no clue as to what else can be done.


Thanks,


Marc


1 to 1 of 1
  1. Configuring Apache
    2003-11-01 08:49:41  anonymous2 [View]

1 to 1 of 1