Need tutorial for setting up Apache with a custom www folder
I think I just need some help finding the correct documentation for this...
I have installed Apache on Ubuntu 10.04 LTS. I can load the default test page fine. I go to http://
This test file is located at: /var/www/index.html
However, I do not have permission to write files to this directory (yes I can move files there with sudo, but that is very inconvenient.) I need to figure out how to specify a www directory within my home folder so that I can easily edit files.
I tried several things including setting up a symbolic link and changing the DocumentRoot path in the Apache config files. The result always seems to be a 403 Forbidden error, which I assume means that the files or folders are not set with the correct permissions. Using chmod 755 on the directory and 644 on the file did not help.
I come from using a Mac where the Apache configuration seemed a little more straight-forward, with a Sites folder already setup in my home folder. I'm basically trying to get that same functionality here.
(Note: this is not a production web server, this is going to be used for testing web development locally before uploading to live server.)
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu apache2 Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- kjudd
- Solved:
- Last query:
- Last reply: