-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.htaccess
33 lines (28 loc) · 1.1 KB
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
## Created by asimon - 2/2015
##
## If uncommenting breaks VUI - it is an configuration issue
## E.G. if your .htpasswd file path is not correct
## uncommenting AuthUserFile will break VUI
## Keep all entries commented until you sort out the issues
## This denies all files under vui htdoc path as default
Order deny,allow
Deny from all
## This allows ONLY vui files. If you add/rename files, update here, too.
<Files ~ "(index.php|vui.js|style.css|progress.css|serverup.png|serverdown.png)">
Allow from all
</Files>
## Below are environment variables for Amazon AWS
## To be used in the Vagrantfile for provisioners
## like Chef or Puppet
## Note: .htaccess ENV values are only available to PHP, not Ruby(!)
## you need to add Ruby code to Vagrantfile to parse .htaccess
##SetEnv AWS_KEY AaBbCcDdEe
##SetEnv AWS_SECRET ABCdefgHIJKlmnopQRSTuvwzyz+012345678
##SetEnv AWS_KEYNAME "myKeys"
##SetEnv AWS_KEYPATH /path/to/mysshkey.pem
## Uncomment below to use Basic Auth
## The default .htpasswd sets id 'vui' with password 'vui'
#AuthType Basic
#AuthName 'VUI'
#AuthUserFile /path/to/vui/.htpasswd
#require valid-user