Unknown Regex Code
-
Hello,
Greetings everyone! Hope this is the right forum for a small Regex Help Request:
I am trying to trim the htaccess file. However, there’s a piece of code that I am unable to classify (perhaps, the plugin that inserted it is no longer in use – I tried removing plugins and observing changes to the file but this code doesn’t budge. Or, perhaps this is not related to a plugin). Can someone here please advice what this code is meant for / does? Should I retain this or trash it?
# Begin Unknown <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_URI} ^/?\.user\.ini$ RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$ RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$ RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$ RewriteRule .* - [F,L,NC] </IfModule> # End Unknown
Kind regards
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Unknown Regex Code’ is closed to new replies.