/adei/trunk

To get this branch, use:
bzr branch http://darksoft.org/webbzr/adei/trunk

« back to all changes in this revision

Viewing changes to admin/.htaccess

  • Committer: Suren A. Chilingaryan
  • Date: 2016-09-17 18:11:12 UTC
  • Revision ID: csa@suren.me-20160917181112-fbzofz027olsa7w6
Remove hardcoded-security and replace it with one based on environmental variables

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<Files ~ "(\.php$|^$)">
2
 
    AuthType        Basic
3
 
    AuthName        "ADEI Authentication"
4
 
    AuthBasicProvider file
5
 
    AuthUserFile    /var/www/localhost/htdocs/adei/admin/.htpasswd
6
 
    Require         valid-user
 
2
    Order deny,allow
 
3
    Deny from all
 
4
    Allow from env=!ADEI_SECURITY
 
5
    Allow from env=ADEI_ADMIN
7
6
</Files>