StartFile = index.php, index.html
UrlToolkit {
ToolkitID = findindexfile
Match ^([^?]*)/(\?.*)?$ Rewrite $1/index.php$2 Continue
RequestURI isfile Return
Match ^([^?]*)/index\.php(\?.*)?$ Rewrite $1/index.html$2 Continue
RequestURI isfile Return
Match ^([^?]*)/index\.html(\?.*)?$ Rewrite $1/index.shtml$2 Continue
RequestURI isfile Return
Match ^([^?]*)/index\.shtml(\?.*)?$ Rewrite $1/index.htm$2 Continue
RequestURI isfile Return
Match ^([^?]*)/index\.htm(\?.*)?$ Rewrite $1/index.pl$2 Continue
RequestURI isfile Return
Match ^([^?]*)/index\.pl(\?.*)?$ Rewrite $1/index.py$2 Continue
RequestURI isfile Return
Match ^([^?]*)/index\.py(\?.*)?$ Rewrite $1/index.cgi$2 Continue
RequestURI isfile Return
Match ^([^?]*)/index\.cgi(\?.*)?$ Rewrite $1/index.rb$2 Continue
RequestURI isfile Return
Match ^([^?]*)/index\.rb(\?.*)?$ Rewrite $1/default.htm$2 Continue
RequestURI isfile Return
Match ^([^?]*)/default\.htm(\?.*)?$ Rewrite $1/Default.aspx$2 Continue
RequestURI isfile Return
Match ^([^?]*)/Default\.aspx(\?.*)?$ Rewrite $1/Default.asp$2 Continue
RequestURI isfile Return
Match ^([^?]*)/Default\.asp(\?.*)?$ Rewrite $1/$2 Continue
}
VirtualHost {
...
UseToolkit = findindexfile
...
}
VirtualHost {
Hostname = www.example.com, *.example.com
WebsiteRoot = /usr/local/www/htdocs
....
StartFile = index.html
Alias = /test1:/usr/local/www/tool_1 # index page is php
Alias = /test2:/usr/local/www/tool_2 # index page is html
Alias = /test3:/usr/local/www/tool_3 # index page is php
TimeForCGI = 10
UseFastCGI = PHP5
...
}