4. Write and save the changes to the configuration file by entering the following commands:Esc
5. When further prompted to Save Changes (y/n/e), enter y.
6.Save the configuration by entering the following command:
save /sys config
7. To activate the mitigation, restart the httpd service by entering the following command:
restart sys service httpd
8.To exit tmsh, enter the following command:
9.Ensure that the workaround is inserted in the configuration by comparing the output of the following command to the configured LocationMatch fragment that you inserted in step 3. To do so, enter the following command:grep -C1 'Redirect 404' /etc/httpd/conf/httpd.conf