Sha256: 4c81dac41e257f82901dd2ec0cc0ef76b2ac6d592cfdb649f408efae758cd2ac

Contents?: true

Size: 1.46 KB

Versions: 4

Compression:

Stored size: 1.46 KB

Contents

<virtualhost *>
	ServerAdmin webmaster@localhost
	ServerName <%= @APP_CONFIG[:server][:hostname] %>
	DocumentRoot <%= @APP_CONFIG[:dirs][:document] %>
	ErrorLog <%= @APP_CONFIG[:dirs][:log] %>/error.<%= @APP_CONFIG[:server][:hostname] %>.log
	CustomLog <%= @APP_CONFIG[:dirs][:log] %>/access.<%= @APP_CONFIG[:server][:hostname] %>.log combined
	LogLevel error

	RewriteEngine On
	RewriteRule ^/$ http://<%= @APP_CONFIG[:server][:hostname] %>/saint/public
	RewriteRule ^/index*$ http://<%= @APP_CONFIG[:server][:hostname] %>/saint/public

	<location />
		AuthType Basic
		AuthName 'SaintDigitalSourceRepository'
		AuthUserFile <%= @APP_CONFIG[:dirs][:install] %>/passwords
		#Require valid-user
		AuthBasicProvider file ldap
		AuthLDAPBindDN 'CN=WTMS LDAP Auth,OU=WTMS,OU=STS,OU=Europe,OU=EMEA-YR-LON-GLH,OU=EMEA-YR-LON,OU=EMEA-YR,DC=emea,DC=corp,DC=yr,DC=com'
		AuthLDAPBindPassword 'l00kmeup'
		AuthLDAPURL 'ldap://emea-root03.emea.corp.yr.com:389/dc=emea,dc=corp,dc=yr,dc=com?sAMAccountName?sub?(&(objectClass=user)(memberOf=cn=EMEA-YR-LON-GLH-SAINT-DEVELOPERS,ou=Groups,ou=Saint,ou=RKCRYR,ou=EMEA-YR-LON-GLH,ou=EMEA-YR-LON,ou=EMEA-YR,dc=emea,dc=corp,dc=yr,dc=com))'
		AuthzLDAPAuthoritative off
	</location>

	<location <%= @APP_CONFIG[:urls][:svn] %>>
		DAV svn
		SVNParentPath <%= @APP_CONFIG[:dirs][:svn] %>/
		SVNListParentPath On
		SVNAutoversioning On
		SVNReposName 'SaintDigitalSourceRepository'
	</location>

	Include <%= @APP_CONFIG[:dirs][:conf_locations] %>/*

</virtualhost>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
keithsalisbury-subtrac-0.1.1 lib/subtrac/templates/vhost.erb
keithsalisbury-subtrac-0.1.2 lib/subtrac/templates/vhost.erb
keithsalisbury-subtrac-0.1.3 lib/subtrac/templates/vhost.erb
keithsalisbury-subtrac-0.1.4 lib/subtrac/templates/vhost.erb