diff options
author | Joe Rayhawk <jrayhawk@richardiv.omgwallhack.org> | 2010-12-27 01:23:57 -0800 |
---|---|---|
committer | Joe Rayhawk <jrayhawk@richardiv.omgwallhack.org> | 2010-12-27 01:23:57 -0800 |
commit | 875650426369fb2607b6179883141f3adfe42359 (patch) | |
tree | 20d614b74a4996b6e4e86155265b2c425266474e /pinyconfigs/etc/apache2 | |
parent | 7bf6a597faf653358d83f6c8ca54843ffc43c782 (diff) | |
parent | 8f342b641236d9c15530664c00889d00635b61f6 (diff) | |
download | piny-code-875650426369fb2607b6179883141f3adfe42359.tar.gz piny-code-875650426369fb2607b6179883141f3adfe42359.zip |
Merge branch 'master' of piny.be:/srv/git/piny-code
Diffstat (limited to 'pinyconfigs/etc/apache2')
-rw-r--r-- | pinyconfigs/etc/apache2/sites-available/piny | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pinyconfigs/etc/apache2/sites-available/piny b/pinyconfigs/etc/apache2/sites-available/piny index 05808f4..6dbbf87 100644 --- a/pinyconfigs/etc/apache2/sites-available/piny +++ b/pinyconfigs/etc/apache2/sites-available/piny @@ -48,7 +48,19 @@ Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch </Directory> + <Directory "/usr/lib/cgi-bin/piny"> + AuthPAM_Enabled on + AuthGROUP_Enabled on + AuthPAM_FallThrough off + AuthBasicAuthoritative off + AuthType Basic + AuthName "User account for piny.be needed." + Require valid-user + </Directory> + ScriptAlias /cgit /usr/lib/cgi-bin/cgit.cgi + ScriptAlias /piny-newuser /usr/lib/cgi-bin/piny-newuser.cgi + ScriptAlias /piny/ /usr/lib/cgi-bin/piny/ Include /etc/apache2/piny-enabled |