# Alias for dolibarr directory
alias.url += ( 
	"/dolibarr" => "/usr/share/dolibarr/htdocs",
)

# Disallow access to libraries
#$HTTP["url"] =~ "^/dolibarr/libraries" { 
#    url.access-deny = ( "" ) 
#}

# Limit access to setup script
#$HTTP["url"] =~ "^/dolibarr/setup" {
#	auth.backend = "htpasswd"
#	auth.backend.htpasswd.userfile = "/etc/dolibarr/htpasswd.setup"
#	auth.require = (
#		"/" => (
#			"method" => "basic",
#			"realm" => "Dolibarr Setup",
#			"require" => "valid-user"
#		)
#	)
#}
