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/media.computerisms.com.conf

From COCNM
Revision as of 01:19, 19 September 2013 by Bob (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
<VirtualHost 192.168.26.10:80>
	ServerName 		media.computerisms.com
	ServerAdmin 		bob.miller@computerisms.com
	DocumentRoot 		/Computerisms/sites/media.computerisms.com/www
	RewriteEngine		On
	RewriteCond 		%{HTTPS} off
	RewriteRule 		(.*) https://%{HTTP_HOST}%{REQUEST_URI}
	ErrorLog 		/var/log/apache2/media.computerisms.com/error.log
	LogLevel 		error
	CustomLog 		/var/log/apache2/media.computerisms.com/access.log combined
	ServerSignature 	Off
</VirtualHost>
<VirtualHost 192.168.26.10:443>
	ServerName 		media.computerisms.com
	ServerAdmin 		bob.miller@computerisms.com
	AssignUserID		ob		ob	
	MaxClientsVHost		1000
	NiceValue		10
	SetEnvIf 		User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0
	SSLEngine 		on
	SSLCertificateFile  	/var/CA/computerisms.com/media.computerisms.com/media.computerisms.com.pem
	SSLCertificateKeyFile 	/var/CA/computerisms.com/media.computerisms.com/media.computerisms.com.nopw.key
	SSLCACertificateFile	/var/CA/computerisms.com/CA/Computerisms.Certificate.Authority
        SSLProtocol             -All +SSLv3 +TLSv1
	DocumentRoot 		/Computerisms/sites/media.computerisms.com/www
        <Directory /Computerisms/sites/media.computerisms.com/www>
                Options 	Indexes FollowSymLinks MultiViews
		Require		all		granted
		AllowOverride 	None
        </Directory>
        <Directory /Computerisms/sites/media.computerisms.com/www/tools>
		AllowOverride 	None
		Require		all		denied
        </Directory>
        <Directory /Computerisms/sites/media.computerisms.com/www/db>
		AllowOverride 	None
		Require		all		denied
        </Directory>
	php_value		short_open_tag	1
	ErrorLog 		/var/log/apache2/media.computerisms.com/error.log
	LogLevel 		debug
	CustomLog 		/var/log/apache2/media.computerisms.com/access.log combined
	ServerSignature 	Off
</VirtualHost>