diff options
Diffstat (limited to 'pinyconfigs')
-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 |