summaryrefslogtreecommitdiff
path: root/pinyconfigs/etc/apache2
diff options
context:
space:
mode:
authorjrayhawk+piny.be@omgwallhack.org <jrayhawk@dev.piny.svcs.cs.pdx.edu>2010-12-21 01:00:37 -0800
committerjrayhawk+piny.be@omgwallhack.org <jrayhawk@dev.piny.svcs.cs.pdx.edu>2010-12-21 01:00:37 -0800
commit599d8ef054d361982a48216063b04038fe2bcb7a (patch)
tree6597c5004ad38d31609a933cf24772476a1da68b /pinyconfigs/etc/apache2
parenta672e2c082559edfcf686199eeef2411abe78ab0 (diff)
downloadpiny-code-599d8ef054d361982a48216063b04038fe2bcb7a.tar.gz
piny-code-599d8ef054d361982a48216063b04038fe2bcb7a.zip
Adding build and config infrastructure for Piny CGIs
Diffstat (limited to 'pinyconfigs/etc/apache2')
-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