Sha256: a705f66e205c3b4f6c201a11a537c99f93aa10620bd36335605e5a51abe220a7

Contents?: true

Size: 1.07 KB

Versions: 4

Compression:

Stored size: 1.07 KB

Contents

<virtualhost *>
	ServerAdmin webmaster@localhost
	ServerName <%= @server_hostname %>
	DocumentRoot <%= docs_dir %>
	ErrorLog <%= log_dir %>/error.<%= @server_hostname %>.log
	CustomLog <%= log_dir %>/access.<%= @server_hostname %>.log combined
	LogLevel error

	RewriteEngine On
	RewriteRule ^/$ http://<%= @server_hostname %>/<%= @default_client.downcase %>/<%= @default_project.downcase %>
	RewriteRule ^/index*$ http://<%= @server_hostname %>/<%= @default_client.downcase %>/<%= @default_project.downcase %>

	<location />
		AuthType Basic
		AuthName '<%= @server_name %>'
		AuthUserFile <%= @install_dir %>/passwords
		#Require valid-user
		#AuthBasicProvider file ldap
		#AuthLDAPBindDN '<%= @ldap_bind_dn %>'
		#AuthLDAPBindPassword '<%= @ldap_bind_password %>'
		#AuthLDAPURL '<%= @ldap_url %>'
		#AuthzLDAPAuthoritative off
	</location>

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

	Include <%= locations_dir %>/*

</virtualhost>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
keithsalisbury-subtrac-0.1.11 lib/subtrac/templates/vhost.erb
keithsalisbury-subtrac-0.1.12 lib/subtrac/templates/vhost.erb
keithsalisbury-subtrac-0.1.13 lib/subtrac/templates/vhost.erb
keithsalisbury-subtrac-0.1.9 lib/subtrac/templates/vhost.erb