Hello,

Thanks for writing up The http://webpy.org/cookbook/iis7_iis6_windows_pyisapie which would have been a few days of work to figure out by myself.

But I have one question remaining. What's the best way to write IIS web.config, so that all the static content comes from /static and any other path is for python?

I didn't figure out anything else but:

<configuration>
    <system.webServer>
        <handlers accessPolicy="Read, Execute, Script">
<add name="OWS_A" path="/A*" verb="*" modules="IsapiModule" scriptProcessor="E:\OWS\PyISAPIe.dll" resourceType="Unspecified" preCondition="bitness32" /> <add name="OWS_B" path="/B*" verb="*" modules="IsapiModule" scriptProcessor="E:\OWS\PyISAPIe.dll" resourceType="Unspecified" preCondition="bitness32" />

and so on for A-R and T-Z. So static maps to static files by default, and web services work as long as the ones starting with S are configured without wildcards.

This is obviously ugly, but it works now and I could not figure out anything better. Any ideas?

Thanks, Kari

--
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to