[MAIN] [News] [Intro] [Features] [Download] [Installation] [Support] [Support+] [Docu] [Tutorial] [Bugs] [forum ] [wiki] [Mirror] [Authors] [Future] [License] [Win98 Setup Bug] [Subscribe] |
Bug DescriptionThe Eszter SB Application Engine (sbhttpd) can not find and execute BASIC programs that are located in subdirectories of the configured web server home directory or execute the programs having the same name in the home directory.Bug Reason, What Causes the BugIf the URL contains file path and not only a plain path the program starts to search a matching virtual directory. If there is none it uses the web server home directory. After the home or a virtual directory path gets into the appropriate variable the program appends the file name from the URL. This is erroneous in case of the web server home directory, because in this case the full path has to be appended.SolutionThe next release will deliver a corrected version. The modification to the file variations/https/websrv.c needed:1100c1100 < if( s ) --- > if( s ){ 1102c1102,1103 < else --- > strcat(szInputFile,sn); > }else{ 1104c1105,1108 < strcat(szInputFile,sn); --- > s = pT->pszQueryString; > if( *s == '/' )s++; > strcat(szInputFile,s); > } Bug Workaround Until Solution is AvailableDefine a virtual directory for each subdirectory that is below the web server home directory having the same virtual name as the physical directory.AcknowledgementN/A |