Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AspNet.OpenRastaModule always defaults to IIS6, even for IIS7 #3

Closed
HCanber opened this issue May 21, 2011 · 0 comments
Closed

AspNet.OpenRastaModule always defaults to IIS6, even for IIS7 #3

HCanber opened this issue May 21, 2011 · 0 comments

Comments

@HCanber
Copy link
Contributor

HCanber commented May 21, 2011

OpenRasta.Hosting.AspNet.OpenRastaModule.VerifyIisDetected ()ignores ServerVariable and defaults to IIS6, even for IIS7.
The problem is this line:

internal const string SERVER_SOFTWARE_KEY = "SERVER_SOFTWARE_KEY";

Should be:

internal const string SERVER_SOFTWARE_KEY = "SERVER_SOFTWARE";

The invalid line causes VerifyIisDetected() to skip the entire if-slashpos-then-parse-server-software-branch so iisversion is not set which causes Iis to default to new IIS6()

serialseb added a commit that referenced this issue Aug 16, 2011
Fixes Issue #3. Ignores being hosted on IIS7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants