For future reference, I tracked the problem down and opened a bug here: https://bugzilla.novell.com/show_bug.cgi?id=669757
After examining the code, I think the problem is in XSPWorkerRequest.TryDirectory(). If I understand what's going on correctly, this method checks if the path that the SimpleWorkerRequest base reports from GetFilePathTranslated() is actually a directory. If so, it checks the configured list of default index files to see if one actually exists. The problem is that it does this check using File.Exists which only checks the physical file system. In a pre-compiled site, none of the actual pages exist in the physical file system - they're stored in a compiled form in the /bin folder along with the pre-compile definition. To fix the problem, the XSPWorkerRequest.TryDirectory() method needs to not only check the physical file system, but the pages that have been pre-compiled as well. Unfortunately, I don't know enough about the web routing system to suggest how to do this. Is there a method you can call to ask "does this page exist in a pre-compiled form"? -Dave _______________________________________________ Mono-aspnet-list mailing list [email protected] http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
