Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove htpasswd code in htaccess files to not interfere with the knockknock plugin #368

Merged
merged 2 commits into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions config/htaccess-production
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
SetEnvIf Request_URI "/frontend/img/site/logo.png" publiclogo
Order Allow,Deny
AuthType Basic
AuthName "Authentication Required"
AuthUserFile /data/sites/web/[PROJECT_CODE_HERE]livestatikbe/.htpasswd
Require valid-user
Allow from 81.82.199.174
Allow from 94.225.165
Allow from 79.174.134.38
Allow from 79.174.134.39
Allow from 127.0.0.1
Allow from env=publiclogo
Satisfy Any
# SetEnvIf Request_URI "/frontend/img/site/logo.png" publiclogo
# Order Allow,Deny
# AuthType Basic
# AuthName "Authentication Required"
# AuthUserFile /data/sites/web/[PROJECT_CODE_HERE]livestatikbe/.htpasswd
# Require valid-user
# Allow from 81.82.199.174
# Allow from 94.225.165
# Allow from 79.174.134.38
# Allow from 79.174.134.39
# Allow from 127.0.0.1
# Allow from env=publiclogo
# Satisfy Any

<IfModule mod_rewrite.c>
RewriteEngine On
Expand Down
26 changes: 13 additions & 13 deletions config/htaccess-staging
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
SetEnvIf Request_URI "/frontend/img/site/logo.png" publiclogo
Order Allow,Deny
AuthType Basic
AuthName "Authentication Required"
AuthUserFile /data/sites/web/[PROJECT_CODE_HERE]livestatikbe/.htpasswd
Require valid-user
Allow from 81.82.199.174
Allow from 94.225.165
Allow from 79.174.134.38
Allow from 79.174.134.39
Allow from 127.0.0.1
Allow from env=publiclogo
Satisfy Any
# SetEnvIf Request_URI "/frontend/img/site/logo.png" publiclogo
# Order Allow,Deny
# AuthType Basic
# AuthName "Authentication Required"
# AuthUserFile /data/sites/web/[PROJECT_CODE_HERE]livestatikbe/.htpasswd
# Require valid-user
# Allow from 81.82.199.174
# Allow from 94.225.165
# Allow from 79.174.134.38
# Allow from 79.174.134.39
# Allow from 127.0.0.1
# Allow from env=publiclogo
# Satisfy Any

<IfModule mod_rewrite.c>
RewriteEngine On
Expand Down