I recently upgraded my J 3.10.11 website to J 4.2.5. Having upgraded, I reinstalled Admin Tools
Using the htaccess maker, I clicked the "Reset Htaccess Maker options" and then clicked the "Save and create .htaccess".
In doing so, I got a 500 Internal Server Error, with these messages, pn both the backend and the frontend:
Internal Server ErrorThe server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
It seems that one of the rewrite rules has an unwanted carriage return.
This is the original rule:
##### No directory listings -- BEGIN
IndexIgnore *
Options -Indexes +SymLinksIfOwnerMatch
##### No directory listings -- END
This is my edit of the original rule
##### No directory listings -- BEGIN
IndexIgnore *Options -Indexes +SymLinksIfOwnerMatch
##### No directory listings -- END
Once I made the change, everything worked fine.
Is there something that I can do to ensure that this rule is properly written, to avoid the error in the future.
Thank you and take care.
David