Is it safe to change the appache default website root folder to somewhere in user home? I wonder if it is okay to do. Because otherwise I have to save the default site by another name and then run apache commands to disable the default site and enable mine. So why not just edit the default site and change the document root and directory to somewhere in my home.
Tell me more
×
Ask Ubuntu is a question and answer site for
Ubuntu users and developers. It's 100% free, no registration required.
|
it is safe, it's all about permissions, i put my document root within my home directory and execute `sudo chown -R www-data:www-data ~/jhano/public_html |
|||
|
|
|
First it is OK and safe to point the document root to some directory within your home directory. |
|||
|
|
