Skip to content

Instantly share code, notes, and snippets.

@exodist
Created April 1, 2015 15:06
Show Gist options
  • Save exodist/d7b23f5d693928a1fbbc to your computer and use it in GitHub Desktop.
Save exodist/d7b23f5d693928a1fbbc to your computer and use it in GitHub Desktop.
<VirtualHost *:443>
ServerName uebernet-plack.testdomain.com
ServerAlias *
ServerAdmin [email protected]
DocumentRoot /ndn/web/uebernet
ErrorLog /var/log/apache2/uebernet.https/error.log
CustomLog /var/log/apache2/uebernet.https/access.log combined
DocumentRoot /ndn/web/uebernet
<Directory /ndn/web/uebernet/wiki>
Options Includes SymLinksIfOwnerMatch ExecCGI
AddHandler php-cgi .php4 .pcgi4
AddHandler php5-cgi .phtml .pcgi .pcgi5
AddHandler php5-script .php .php5
AddType text/html php php5
<Files *.php.*>
RemoveHandler .php
</Files>
<Files *.php4.*>
RemoveHandler .php4
</Files>
<Files *.php5.*>
RemoveHandler .php5
</Files>
<IfModule mod_fcgid.c>
</IfModule>
</Directory>
<Directory /ndn/web/uebernet/wiki/images>
Options -Indexes
</Directory>
<IfModule mod_ssl.c>
SSLEngine on
SSLVerifyClient none
SSLCipherSuite HIGH:MEDIUM:!aNULL:+SHA1:+MD5:+HIGH:+MEDIUM
SSLProxyEngine off
SSLProtocol all -SSLv2
SSLCertificateFile /etc/apache2/ssl/uebernet.crt
SSLCertificateKeyFile /etc/apache2/ssl/uebernet.key
SSLCertificateChainFile /etc/apache2/ssl/uebernet.int
</IfModule>
<Location />
SetHandler perl-script
PerlResponseHandler Plack::Handler::Apache2
PerlSetVar psgi_app /ndn/PSGI/uebernet.psgi
</Location>
<Directory /ndn/web/uebernet>
AllowOverride All
Order Allow,Deny
Allow From All
</Directory>
PerlPostConfigRequire /ndn/PSGI/uebernet_startup.pl
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment