Skip to main content

New answers tagged

1 vote

How to make Apache so that it does not use the .htaccess file

The Apache Docs state: When this directive [AllowOverride] is set to None and AllowOverrideList is set to None, .htaccess files are completely ignored. In this case, the server will not even attempt ...
Alex Is Awesome's user avatar
5 votes

Case insensitivity for Cyrillic characters in Apache .htaccess RegEx does not work

To achieve case insensitivity for Cyrillic characters in Apache .htaccess RewriteRules, the standard [NC] flag or the (?i) modifier doesn't work as expected. This is due to the limitation in Apache's ...
Max Haase's user avatar
  • 807
0 votes

if statement in htaccess

<IfModule mod_rewrite.c> RewriteEngine On # Check for the secret bypass parameter RewriteCond %{QUERY_STRING} bypass=1 RewriteRule ^ - [L] # If the secret parameter is not present, apply IP ...
warashi nguyen's user avatar

Top 50 recent answers are included