Skip to content

Instantly share code, notes, and snippets.

@Guley
Created September 27, 2024 09:05
Show Gist options
  • Save Guley/6077f779999a045ba142348a709fa741 to your computer and use it in GitHub Desktop.
Save Guley/6077f779999a045ba142348a709fa741 to your computer and use it in GitHub Desktop.
Skip basic auth on htaccess
## .htaccess
### ISPConfig folder protection begin ###
AuthType Basic
AuthName "Members Only"
AuthUserFile /path/.htpasswd
require valid-user
### ISPConfig folder protection end ###
SetEnvIf Request_URI "^/url?quertsting" noauth=1
## .htpasswd
# create password https://www.web2generators.com/apache-tools/htpasswd-generator
username:password
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment