summaryrefslogtreecommitdiff
path: root/pinyconfigs/etc/apache2/sites-available
diff options
context:
space:
mode:
authorJoe Rayhawk <jrayhawk@richardiv.omgwallhack.org>2010-12-27 01:23:57 -0800
committerJoe Rayhawk <jrayhawk@richardiv.omgwallhack.org>2010-12-27 01:23:57 -0800
commit875650426369fb2607b6179883141f3adfe42359 (patch)
tree20d614b74a4996b6e4e86155265b2c425266474e /pinyconfigs/etc/apache2/sites-available
parent7bf6a597faf653358d83f6c8ca54843ffc43c782 (diff)
parent8f342b641236d9c15530664c00889d00635b61f6 (diff)
downloadpiny-code-875650426369fb2607b6179883141f3adfe42359.tar.gz
piny-code-875650426369fb2607b6179883141f3adfe42359.zip
Merge branch 'master' of piny.be:/srv/git/piny-code
Diffstat (limited to 'pinyconfigs/etc/apache2/sites-available')
-rw-r--r--pinyconfigs/etc/apache2/sites-available/piny12
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