Help:Configuration:Revert to XML

From OpenLiteSpeed
Jump to: navigation, search

This wiki outlines the process for users want to recover their XML configurations after downgrading from OpenLiteSpeed 1.4 to a lower version. (OpenLiteSpeed 1.4 only supports plain text configuration files. OpenLiteSpeed 1.4 automatically converts all configuration files to plain text when a user upgrades to 1.4. Versions below 1.4, though, do not support plain text configurations used with the WebAdmin control panel. Thus, if a user tries OpenLiteSpeed 1.4 but then decides to downgrade back to a lower version, the user will need their configuration files to be converted back to XML.)

Run the recover_xml.sh command

To recover your XML configuration files after downgrading to a version below 1.4, simply run the command below.

/usr/local/lsws/backup/recover_xml.sh

This script moves all the necessary files to the correct locations for versions below OpenLiteSpeed 1.4.