Skip to main content

reset apache config when restore backup and reboot server

Comments

11 comments

  • cPanelMichael
    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
  • Muhammad++
    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?
    0
  • cPanelMichael
    Hello, Can you provide more information about the steps you took to manually restore the system configuration files? Thank you.
    0
  • Muhammad++
    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 problem
    0
  • cPanelMichael
    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
  • Muhammad++
    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:
    0
  • cPanelMichael
    Hello, It's controlled with the following option in "WHM Home " Service Configuration " Apache Configuration " Global Configuration": Optimize .htaccess (AllowOverride) Thank you.
    0
  • Muhammad++
    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
  • cPanelMichael
    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
  • Muhammad++
    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 time
    0
  • cPanelMichael
    [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.