Differences
This shows you the differences between two versions of the page.
— |
cpanel:apache-distiller-to-save-changes [2015-11-25 17:48:09] (current) rory.blanchard created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== How to use the Apache Distiller to Save Changes to Apache Config ====== | ||
+ | By default, cPanel will rebuild the Apache config file when cPanel runs updates, which is nightly by default. When the Apache config file is rebuilt any manual changes made will be removed as it's overwritten. By running the Apache distiller before rebuilding the Apache config file, manual changes can be saved. | ||
+ | |||
+ | ===== Running the Distiller ===== | ||
+ | |||
+ | Using SSH to get to the command line, make your changes to the Apache config file. | ||
+ | |||
+ | <note hint> This can be found at / | ||
+ | |||
+ | Run the distiller using the following: | ||
+ | |||
+ | < | ||
+ | / | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | \\ | ||
+ | This will update the Apache configs default and your changes will not be overwritten. | ||
+ | |||
+ | <note important> | ||
+ | |||
+ | \\ | ||
+ | \\ |