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


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

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

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.



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

1 to 1 of 1