Sha256: 7fba1adbeeacc74ab3e74a70b83ac8e9f7d3385282094ffd4e24a6563e349961

Contents?: true

Size: 1.13 KB

Versions: 9

Compression:

Stored size: 1.13 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 %>/.passwd
		Require valid-user
		AuthBasicProvider file
		<% if @ldap_enable then %>
		#AuthBasicProvider file ldap
		#AuthLDAPBindDN '<%= @ldap_bind_dn %>'
		#AuthLDAPBindPassword '<%= @ldap_bind_password %>'
		#AuthLDAPURL '<%= @ldap_url %>'
		#AuthzLDAPAuthoritative off
		<% end %>
	</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

9 entries across 9 versions & 2 rubygems

Version Path
keithsalisbury-subtrac-0.1.14 lib/subtrac/templates/vhost.erb
keithsalisbury-subtrac-0.1.15 lib/subtrac/templates/vhost.erb
ktec-subtrac-0.1.15 lib/subtrac/templates/vhost.conf.erb
ktec-subtrac-0.1.16 lib/subtrac/templates/vhost.conf.erb
ktec-subtrac-0.1.17 lib/subtrac/templates/vhost.conf.erb
ktec-subtrac-0.1.18 lib/subtrac/templates/vhost.conf.erb
ktec-subtrac-0.1.21 lib/subtrac/templates/vhost.conf.erb
ktec-subtrac-0.1.22 lib/subtrac/templates/vhost.conf.erb
ktec-subtrac-0.1.23 lib/subtrac/templates/vhost.conf.erb