<s> import win32traceutil <EOL> import monitor_directory <EOL> import isapi_wsgi <EOL> def __ExtensionFactory__ ( ) : <EOL> return isapi_wsgi . ISAPISimpleHandler ( monitor_directory . App ( ) ) <EOL> def set_auth ( params , options , target_dir ) : <EOL> target_dir . AuthFlags = <NUM_LIT:5> <EOL> target_dir . SetInfo ( ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> from isapi . install import * <EOL> params = ISAPIParameters ( ) <EOL> sm = [ <EOL> ScriptMapParams ( Extension = "<STR_LIT:*>" , Flags = <NUM_LIT:0> ) <EOL> ] <EOL> vd = VirtualDirParameters ( <EOL> Name = "<STR_LIT>" , <EOL> Description = "<STR_LIT>" , <EOL> ScriptMaps = sm , <EOL> ScriptMapUpdate = "<STR_LIT:replace>" , <EOL> PostInstall = set_auth <EOL> ) <EOL> params . VirtualDirs = [ vd ] <EOL> HandleCommandLine ( params ) </s>
