Web Root Dir Change and New Dir Added issue in CentOS 5
Hi ! I have just configured CentOS server my new office. This is the first time I am using CentOS.
Whenever I am trying to change the webroot of the httpd server, it usually say "directory doesn't exist". whereas which can't be the case as it is home directory of the user.
old webroot : /var/www/public_html
new webroot desired: /home/username/public_html
to achieve this, what Do I need to do?
the second issue, I am facing that whenever I am adding new directories to public_html folder, it is not accessible. as the error page 404 is shown. I have changed the permissions to 0705 and ownership is also transferred to other user.
What else is required to make new directories accessible by the web?
Thanks
|