# root page dynamic redirect via script
$HTTP["url"] =~ "^/*$" {
	alias.url = ( "/" => "/usr/share/foris/foris-root-cgi" )
	cgi.assign = ( "" => "" )
}

# Make sure that wirzard passes during a migration from older image
url.redirect += ( "^/wizard/(.*)" => "/foris/wizard/main/$1" )
url.redirect += ( "^/foris/wizard/(step/.*)" => "/foris/wizard/main/$1" )
