After fixing previous 8.5 starkit problem, I then found that mime handling wasn't working properly. I fixed it by adding "file normalize" to lines 41 and 192 in bin/httpdthread.tcl. This fixed the simple types (man pages and templates) but there is still a problem when I try to veiw the "URL Domains" page.
Logged In: NO
In my case, this problem was because Mtype_ReadTypes doesn't read the mime types file, because a wrong line in the 'httpdthread.tcl' file :
set path [lindex $path 0]
That truncate the true path (wiht spaces)
You can simply comment this line:
foreach path [list \ [file join $Config(lib) mime.types] \ [glob -nocomplain [file join $Config(lib) tclhttpd* mime.types]] \ ] {
# commented, because a valid path can contain spaces !!
# if {[llength $path] > 0} {
# set path [lindex $path 0]
# }
if {[file exists $path]} {
Mtype_ReadTypes $path
break
}
}