Changed Default Account Directory in httpd.conf Issue
dear team
i made changes in the apache configuration file (etc/apache2/conf/httpd.conf)
i changed the default directory /var/www/html to /home/admin/public_html for bounded ip's and unbounded ip's
but after two or three days it changes to its orignal default directory (var/www/html)
how to prevent them to make default
kindly help me because i m facing this issue from last one month.
and one more issue in my public_html folder there is a directory name as photos but since morning when i try to open that directory it is showing data error and due to this data error that image is not showing in my website as well.
kindly help me
-
Hello, 1. The following document includes instructions on how to make custom changes to your Apache configuration file: Advanced Apache Configuration - EasyApache 4 - cPanel Documentation However, if you simply want to change the default website page, you can use "WHM >> Web Template Editor" instead. 2. As far as the website error message, could you let us know what appears in /usr/local/apache/logs/error_log when that happens? Thank you. 0 -
kindly tell me the step wise procedure so that my default cpanel directroy does not changes to var/www/html as i want my directory for the bounded ip's should be /home/admin/public_html kindly tell the step wise procedure looking for permanent solution kindly give me response 50055 this doccumentroot directroy changes to /var/www/html in every two to three days kindly help me to sort this problem permamently as i want this doccuemnt root directory should be /home/systemadmin/public_html 0 -
Hi, You can do this more easier than getting into configuring. Just create a link between the /var/www/html to /home/systemadmin/public_html using below command: # mv /var/www/html /var/www/html_old # ln -s /home/systemadmin/public_html /var/www/html This will rename the html folder for future reference if needed and then creates a link to the location you want. Give it a try.. 0
Please sign in to leave a comment.
Comments
3 comments