The default location of Document root as per httpd.conf is
/Library/WebServer/Documents. I want this location to be
/webcontent. So to do that, I created a webcontent folder in root(/).
Then in the httpd.conf:
- Changed the Document root line to DocumentRoot
- Changed the Directory tag to
After restarting the Apache I'm getting the following page:
You don't have permission to access / on this server.
Could anyone please tell me whether I need to change any permissions anywhere else to change the document root?