Code

Changes between Version 8 and Version 9 of DjangoOnWindowsWithIISAndSQLServer


Ignore:
Timestamp:
08/17/06 08:22:57 (8 years ago)
Author:
SF
Comment:

Additional details for running in w2k/IIS 5.0/Django 0.91

Legend:

Unmodified
Added
Removed
Modified
  • DjangoOnWindowsWithIISAndSQLServer

    v8 v9  
    88 
    99NB, I'm working from Windows Server 2003/IIS 6 and SQL Server 2005. 
     10 
     11'''''Note:''' This doesn't appear to work with Django 0.91 (the pyisapie.py handler is written to the refactored APIs in 0.92 and later) [SF]'' 
    1012 
    1113NB also: The whole point of this is to keep Python running even when not serving requests, to reduce the overhead of starting Python all the time. This means that a lot of changes you make while configuring it wont take effect until you do a full IIS restart. 
     
    6163 
    6264  - IIS 5.x doesn't support wildcard application maps, at least not through the configuration interface.  
    63  
     65    ''[SF] 
     66    On IIS, procedure is as follows: 
     67    - Right Click on virtual directory and choose "properties" 
     68    - Ensure "Execute Permissions" is set to "Scripts and Executables" 
     69    - Click "Configuration" (opposite "Scripts and Executables") 
     70    - On "App Mappings" tab, select "Add" 
     71    - For Executable, browse to pyisapie.dll (needs full path if you enter manually) 
     72    - For extension enter ''*'' (this will redirect all requests to pyisapi) 
     73    - ''You should probably limit the verbs allowed; I left as ''all'' since it was for internal use.'' 
     74    - OK to close all the open dialogs. 
     75    [SF]'' 
    6476It should work. If it doesn't, when you find out why please come back and explain what happened and how you fixed it. ;) 
    6577