Sha256: b2bc79da58f22f30cd8486c1c20d2cb94b090a3696b8f0669c56a5931a5fd27d

Contents?: true

Size: 1.05 KB

Versions: 1

Compression:

Stored size: 1.05 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 %>/<%= @default_project %>
	RewriteRule ^/index*$ http://<%= @server_hostname %>/<%= @default_client %>/<%= @default_project %>

	<location />
		AuthType Basic
		AuthName '<%= @server_name %>'
		AuthUserFile <%= @APP_CONFIG[:dirs][:install] %>/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

1 entries across 1 versions & 1 rubygems

Version Path
keithsalisbury-subtrac-0.1.7 lib/subtrac/templates/vhost.erb