Skip to main content

Global passwd file?

Comments

2 comments

  • Justin Wanstall
    Found my own answer to this one... You can use a wildcard in
    SetEnvIfNoCase ^HOST$ .+ unauthenticated SetEnvIfNoCase ^HOST$ ^(.*)\.testdomain\.com$ !unauthenticated AuthType Basic AuthName "Restricted Development Link" AuthUserFile "/home/.htpasswds/passwd" Require valid-user Order allow,deny Allow from env=unauthenticated Satisfy any
    0
  • cPanelMichael
    Hello :) I am happy to see you were able to find a viable solution. Thank you for updating us with the outcome.
    0

Please sign in to leave a comment.