summaryrefslogtreecommitdiff
path: root/pinyconfigs/etc/apache2/sites-available/piny
diff options
context:
space:
mode:
Diffstat (limited to 'pinyconfigs/etc/apache2/sites-available/piny')
-rw-r--r--pinyconfigs/etc/apache2/sites-available/piny85
1 files changed, 0 insertions, 85 deletions
diff --git a/pinyconfigs/etc/apache2/sites-available/piny b/pinyconfigs/etc/apache2/sites-available/piny
deleted file mode 100644
index a3c38c9..0000000
--- a/pinyconfigs/etc/apache2/sites-available/piny
+++ /dev/null
@@ -1,85 +0,0 @@
-<VirtualHost *:80>
- ServerName piny.be
-
- DocumentRoot /srv/http/piny.be
-
- <Directory />
- Options Indexes FollowSymLinks MultiViews
- AllowOverride None
- </Directory>
-
- Alias /js /usr/share/javascript
-
- RedirectMatch 301 ^/$ http://piny.be/piny-hosting/
-
- Include /etc/apache2/piny/www
-</VirtualHost>
-
-<VirtualHost *:80>
- ServerName www.piny.be
- RedirectMatch 301 (.*) http://piny.be$1
-</VirtualHost>
-
-<VirtualHost *:443>
- ServerName piny.be
- DocumentRoot /srv/https/piny.be
-
- <Directory />
- Options Indexes FollowSymLinks MultiViews
- AllowOverride None
- </Directory>
-
- Alias /js /usr/share/javascript
-
- RedirectMatch 301 ^/$ http://piny.be/piny-hosting/
-
- SSLEngine On
- SSLCertificateFile /etc/ssl/private/secure.piny.be.pem
- SSLCertificateChainFile /etc/ssl/private/GandiStandardSSLCA.pem
-
- Include /etc/apache2/piny/www
-</VirtualHost>
-
-<VirtualHost *:80>
- ServerName secure.piny.be
- RedirectMatch 301 (.*) https://secure.piny.be$1
-</VirtualHost>
-
-<VirtualHost *:443>
- ServerName secure.piny.be
- DocumentRoot /srv/https/secure.piny.be
- RedirectMatch 301 ^/$ http://piny.be/
-
- <Directory />
- SSLRequireSSL
- Options Indexes FollowSymLinks MultiViews
- AllowOverride None
- </Directory>
-
- <Directory "/srv/https/secure.piny.be/write">
- SetHandler cgi-script
- Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
- </Directory>
-
- <Directory "/usr/lib/cgi-bin/piny/auth">
- AuthBasicProvider PAM
- AuthPAMService other
- AuthBasicAuthoritative off
- AuthType Basic
- AuthName "User account for piny.be needed."
- Require valid-user
- </Directory>
-
- Alias /_cgit /usr/share/cgit
-
- ScriptAlias /cgit /usr/lib/cgi-bin/cgit.cgi
- ScriptAlias /piny-newuser /usr/lib/cgi-bin/piny/newuser.cgi
- ScriptAlias /piny-validate /usr/lib/cgi-bin/piny/checkconstraint.cgi
- ScriptAlias /auth /usr/lib/cgi-bin/piny/auth
-
- SSLEngine On
- SSLCertificateFile /etc/ssl/private/secure.piny.be.pem
- SSLCertificateChainFile /etc/ssl/private/GandiStandardSSLCA.pem
-
- Include /etc/apache2/piny/secure
-</VirtualHost>