Attention: All pages of this wiki depend on the pages that come before it, in order as they are listed on the Main Page. Please check for Dependencies.
Please also look at What You Need to Know Before Using This Wiki
/etc/apache2/sites-available/ledger.computerisms.com.conf: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
(No difference)
|
Latest revision as of 01:19, 19 September 2013
<VirtualHost 192.168.26.10:80 > ServerName ledger.computerisms.com ServerAdmin bob.miller@computerisms.com RewriteEngine on RewriteCond %{HTTPS} !=on RewriteRule ^(.*) https://%{SERVER_NAME}$1 [R,L] ErrorLog /var/log/apache2/ledger.computerisms.com/error.log LogLevel error CustomLog /var/log/apache2/ledger.computerisms.com/access.log combined ServerSignature Off </VirtualHost> <VirtualHost 192.168.26.10:443 > SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0 SSLEngine on SSLCertificateFile /var/CA/computerisms.com/ledger.computerisms.com/ledger.computerisms.com.pem SSLCertificateKeyFile /var/CA/computerisms.com/ledger.computerisms.com/ledger.computerisms.com.nopw.key SSLCACertificateFile /var/CA/computerisms.com/CA/Computerisms.Certificate.Authority SSLProtocol -All +SSLv3 +TLSv1 AssignUserID ledger ledger MaxClientsVHost 1000 NiceValue 10 DocumentRoot /Computerisms/sites/ledger.computerisms.com ServerName ledger.computerisms.com ServerAdmin bob.miller@computerisms.com Alias /ledgersmb /Computerisms/sites/ledger.computerisms.com <Directory /Computerisms/sites/ledger.computerisms.com> RewriteEngine On RewriteRule ^/ledgersmb/?$ /ledgersmb/login.pl [R] RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] AllowOverride All AddHandler cgi-script .pl Options ExecCGI Includes FollowSymlinks <Files ~ "\.conf$"> Require all denied </Files> </Directory> <Directory /Computerisms/sites/ledger.computerisms.com/users> Require all denied </Directory> <Directory /Computerisms/sites/ledger.computerisms.com/bin> Require all denied </Directory> <Directory /Computerisms/sites/ledger.computerisms.com/utils> Require all denied </Directory> <Directory /Computerisms/sites/ledger.computerisms.com/spool> Require all denied </Directory> <Directory /Computerisms/sites/ledger.computerisms.com/templates> Require all denied </Directory> <Directory /Computerisms/sites/ledger.computerisms.com/LedgerSMB> Require all denied </Directory> ErrorLog /var/log/apache2/ledger.computerisms.com/error.log LogLevel error CustomLog /var/log/apache2/ledger.computerisms.com/access.log combined ServerSignature Off </VirtualHost>