All pastes #91767 Raw Edit

Anonymous

public text v1 · immutable
#91767 ·published 2006-07-18 22:05 UTC
rendered paste body
<VirtualHost *:443>

	ServerName trac.dom.com
  
	#
	# Settings for SSL
	#
	SSLEngine On
	# Wildcard Certificate
	SSLCertificateFile /etc/ssl/srv.crt
	SSLCertificateKeyFile /etc/ssl/srv.key
	SSLCACertificateFile /etc/ssl/ca.crt
	SSLCARevocationFile /etc/ssl/ca.crl

	#	
	# Client Certificate Authentication
	#
	SSLVerifyClient require
	SSLVerifyDepth 1
	SSLUserName SSL_CLIENT_S_DN_CN

	#
	# All requests' paths are prefixed with this root
	#
	DocumentRoot /var/www/trac

	<Directory />
		Order allow,deny	
		Deny from All
		AllowOverride None
	</Directory>


	<Location /trac/myproj>
		Order allow,deny	
		Allow from All
		AllowOverride None

		SetHandler mod_python
		PythonHandler trac.web.modpython_frontend
		PythonOption TracEnv /var/trac/myproj
		PythonOption TracUriRoot /trac/myproj

		SSLOptions -FakeBasicAuth +StrictRequire
		SSLRequireSSL

		#SSLOptions +FakeBasicAuth +StrictRequire

	        # HTTP Basic Authentication
       		#AuthType             Basic
	        #AuthName             "trac.dom.com"
	       	#AuthUserFile         /etc/apache2/users.passwd
      		#Require              valid-user

	</Location>



</VirtualHost>