diff options
author | Joe Rayhawk <jrayhawk@cobain.omgwallhack.org> | 2018-09-24 22:44:29 -0700 |
---|---|---|
committer | Joe Rayhawk <jrayhawk@cobain.omgwallhack.org> | 2018-09-24 22:44:29 -0700 |
commit | 5ab6999d393cbdf65cd5fd3ab40e02c33849f9c4 (patch) | |
tree | c59fcb9d4807f24ca708675aaede8320f464af6c /pinyconfigs/etc/apache2/sites-available/piny | |
parent | d4535e3b1f60c6ecd57ed6b8cc4ad2358ad2a01e (diff) | |
download | piny-code-5ab6999d393cbdf65cd5fd3ab40e02c33849f9c4.tar.gz piny-code-5ab6999d393cbdf65cd5fd3ab40e02c33849f9c4.zip |
pinyconfig: Modernizing configuration files.
Diffstat (limited to 'pinyconfigs/etc/apache2/sites-available/piny')
-rw-r--r-- | pinyconfigs/etc/apache2/sites-available/piny | 85 |
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> |