Hi,
I'm migrating from ubuntu to windows 2012R2 + IIS 8.5.
Following a slightly altered recipe from the book to install web2py under
IIS (but mostly the same) i've come across a strange error. Since i'm not
accustomed to IIS, it can well be my issue is standard IIS-knowledge-gap
related. I have installed the rules module, have web2py up and running. Now
i installed another app inside web2py that worked before on a 2.11.2 on my
local windows machine as well as on a 2.9.5 server behind apache and all of
a sudden my static files are 401'd
I don't use any special static versioning. When i disabled the static
rewrite rule everything works like a charm. My setup is as simple as
possible (only web2py in the root) running 2.12.2 stable on ii 8.5 python
2.7.9.
the static rule in web.config (comes from the sample) is:
<rule name="static" enabled="false" stopProcessing="true"> <match
url="^(\w+)/static(?:/_[\d]+\.[\d]+\.[\d]+)?/(.*)$" /> <conditions
logicalGrouping="MatchAll" trackAllCaptures="false" /> <action
type="Rewrite" url="applications/{R:1}/static/{R:2}"
logRewrittenUrl="false" /> </rule>
Does anyone have any clue why i have those 401s?
With kind regards,
Remco Boerma
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.