sherdim, Thank you again! I'm ALMOST there. I finished all the settings and excited to see the result at
http://localhost/ochibaapp/ but I got HTTP Error 500.0 - Internal Server Error. Do you have any idea where I should check ? I use IIS 7.5 with IIS 6 Management Cimpatibility. Windows application log, I have the following error but I'm sure ISAPI Filter and Extension are installed and working properly. The description for Event ID 4097 from source ISAPI Filter or Extension cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer. I have C:\Python25\Lib\site-packages\ochibaapp.py C:\Python25\Lib\site-packages\_ochibaapp.dll C:\Python25\Lib\site-packages\applications (Now I see all the app including ochibaapp folder) and it's registered in IIS Virtual directory ochibaapp under "Default Web Site". It's automatically created by automatic installation on your post 2.3.0. - C:\Python25\Lib\site-packages\_ochibaapp.dll is Allowed to run on IIS. - Folders are allowed to execute by IIS_WPG. - I can display http://localhost/isapi-wsgi-test/ On Sep 12, 10:02 am, sherdim <[email protected]> wrote: > Onmi, it is not clear - whether you have separate domain for the site under > IIS. if no - then you can use default pathes. > > To be honest, I cannot really understand routes even I read the book. > > routes.py is not related to deployment on IIS. You can skip routes > configuration upto you need/want it. > > for beginners I would suppose such if your app called "ochibaapp", not > "welcome": > ======== > routers = dict( > BASE = dict(default_application='ochibaapp', > domains={ 'ochiba.com' : 'ochibaapp' }, > root_static = ['favicon.ico', 'robots.txt', 'sitemap.xml'], > ), > ) > ====== > > Here's my directories:> ----------------------------------------------- > > web2py: > > C:\Python25\web2py > > I am not sure - will python include gluon from this dir automatically? > More advantageous place - \Python25\Lib\site-packages\gluon > > So my proposal - copy gluon dir to C:\Python25\Lib\site-packages\ > > > web2py appllications: > > C:\Python25\web2py\applications > > so C:\w2p\ in the slice become C:\Python25\web2py in your current placement > > > Created by 2.3. Configure WSGI handler: > > C:\w2p\applications (Empty) > > is link to... > > C:\Python25\Lib\site-packages\applications (Empty) > > > reverse order!!! link (junction) the second one to > > C:\Python25\web2py\applications > > > I start web2py like this: > > c:\Python25\web2py>python web2py.py > > this can be used for development and debugging > > > Virtual Directory on IIS > > "ochibaapp" (renamed from "appname") under "Default Web Site" > > this app must point to C:\Python25\Lib\site-packages\_ochibaapp.dll > or whatever name you used (through wildcard mapping in the app config) > (According to name agreement - DLL must be named _filename.dll for > filename.py ) > So in the file C:\Python25\Lib\site-packages\ochibaapp.py you can call > gluon.main.wsgibase > > Goodluck!

