diff options
author | mh <mh@immerda.ch> | 2011-03-31 23:17:07 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2011-03-31 23:17:07 +0200 |
commit | db4dec6a9ab9205d5a76e76ac1d6244b33733c99 (patch) | |
tree | 134bda8b457c4686e4d0fbf2ec13bfce5b41573e /templates/vhosts/partials | |
parent | 71f5c60d92493cc019b741a994009c51368c3fbd (diff) |
improving passenger support
Diffstat (limited to 'templates/vhosts/partials')
-rw-r--r-- | templates/vhosts/partials/authentication.erb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/vhosts/partials/authentication.erb b/templates/vhosts/partials/authentication.erb new file mode 100644 index 0000000..bf871e7 --- /dev/null +++ b/templates/vhosts/partials/authentication.erb @@ -0,0 +1,6 @@ + <%- unless htpasswd_file.to_s == 'absent' then -%> + AuthType Basic + AuthName "Access fuer <%= servername %>" + AuthUserFile <%= real_htpasswd_path %> + require valid-user + <%- end -%>
\ No newline at end of file |