0
votes

I am having problems changing the root directory in Apache 2.4.9 on Mac OS X Yosemite 10.10.2. I am using this tutorial: http://coolestguidesontheplanet.com/forbidden-403-you-dont-have-permission-to-access-username-on-this-server/

When I navigate to http://localhost/~Owner/ , I get 404 Not found.

The conf file is in the apache2/user folder. Here is the httpd file, my conf file, and the httpd-user .

Please be as explicit as you be with your answer; as I learn better examining code, watching a video somebody doing live coding and testing.

1
what about http://localhost - JC Sama
@Simo localhost works; but, it points to the root directory /Library/Web.../Document. I want to another directory. - Oscar A. Peña
Open the httpd.conf file and change ServerRoot "/My/Path" and restart appache - JC Sama
@Simo it did not work - Oscar A. Peña
what is the name of your default directory ? - JC Sama

1 Answers

0
votes

I simply download and installed MAMP. Then I change the root directory.