Menu

#451 ISAPI script fails when a period is in the script name

open
nobody
win32 (141)
5
2009-11-25
2009-11-25
No

I stumbled across this problem when working on an isapi wsgi script for MoinMoin. The other scripts in MoinMoin use the format "moin.foo.py" so I created "moin.isapi-wsgi.py", but I couldn't get it to work (500 Server Error when launching the app but before anything in the script is run).

I determined that if I renamed the script to moin_isapi-wsgi.py it would work.

I suspect this is either a limitation of IIS that it doesn't accept periods in the extension filename (except before 'dll') or because the pywin32 isapi.dll doesn't support a period in the filename.

In either case, it would be nice if PyWin32 would handle this case more gracefully, either by adapting the filename of the DLL created or addressing the underlying support of periods in the filename.

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.