reset apache config when restore backup and reboot server
Hello ,
When reboot or restore new back up on server config apache restore on default
I change /etc/apache2/conf/httpd.conf AllowOverride None on AllowOverride All But when restore new backup and reboot server, config reset when i see httpd.conf i see AllowOverride All changed AllowOverride None so need again set it to all .
How can fix this problem ?
-
Hello, Can you provide more information on how you are restoring a backup? Are you manually restoring the system backup files we document at the URL below? System Backups - Version 66 Documentation - cPanel Documentation Thank you. 0 -
Hello, Can you provide more information about the steps you took to manually restore the system configuration files? Thank you. 0 -
Hello, Can you provide more information about the steps you took to manually restore the system configuration files? Thank you.
Hello , I not restore config backup, When i restore user backup and reboot server, receive this problem0 -
Hello, Manual changes to the httpd.conf file are not preserved. Thus, if you reboot or create/restore an account, you will lose any direct modifications to that file. Please see this document for information on how to customize Apache: Advanced Apache Configuration - EasyApache 4 - cPanel Documentation Thank you. 0 -
Hello, It's controlled with the following option in "WHM Home " Service Configuration " Apache Configuration " Global Configuration": Optimize .htaccess (AllowOverride) Thank you. 0 -
Hello, It's controlled with the following option in "WHM Home " Service Configuration " Apache Configuration " Global Configuration": Optimize .htaccess (AllowOverride) Thank you.
Hello , First option ?0 -
Hello, I recommend using "Search Home Directory and below". With this option, the .htaccess files in your account's subdirectories are recursively searched in the /home/$username/ directory. EX: /home/$username/.htaccess > works /home/$username/public_html/.htaccess > works /home/$username/public_html/123/.htaccess > works /home/$username/public_html/123/456/.htaccess > works Otherwise, you'd use "Search "/' and below" if you want Apache to search for all .htaccess files. Thank you. 0 -
Hello, I recommend using "Search Home Directory and below". With this option, the .htaccess files in your account's subdirectories are recursively searched in the /home/$username/ directory. EX: /home/$username/.htaccess > works /home/$username/public_html/.htaccess > works /home/$username/public_html/123/.htaccess > works /home/$username/public_html/123/456/.htaccess > works Otherwise, you'd use "Search "/' and below" if you want Apache to search for all .htaccess files. Thank you.
Hello , I set this option's and test but reset or when restore user backup AllowOverride set all for all time0 -
[QUOTE="Muhammad++, post: 2479655, member: 886067">I set this option's and test but reset or when restore user backup AllowOverride set all for all time
Feel free to open a support ticket using the link in my signature if you'd like us to take a closer look. Thank you.0
Please sign in to leave a comment.
Comments
11 comments