-
Notifications
You must be signed in to change notification settings - Fork 128
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
[email protected](134): Range violation #2
Comments
On Thu, Jul 21, 2011 at 05:00:51PM -0700, Abscissa wrote:
Poo! I wonder if your comp and my comp do this differently... what |
I think this may be relevent: http://msdn.microsoft.com/en-us/library/ms525840(v=vs.90).aspx |
Changing the IIS/requestUri-fixup block in cgi.d to the following should make it work in all cases (works for me at least):
|
On Thu, Jul 21, 2011 at 05:25:51PM -0700, Abscissa wrote:
I see. Yeah, I'll try it on my Vista box next time I'm on it and save Figures I should have RTFM'd! |
With my time constraints recently, I probably won't get to writing the web.d overview document in the next week, so let me summarize the URL structure here. class Post : ApiObject { class yourapp : ApiProvider { /site/method calls yoursite.method() /site/post/ calls new Post(yoursite, "").GET() /site/post/10 calls new Post(yoursite, "10").GET() /site/post/10/somethingCool calls new Post(yoursite, "10").somethingCool() In general: object name / identifier string / method If no method is given, it tries to call REQUEST_METHOD() - so GET, POST, etc. And finally: /site/more/ should call more._defaultPage() (I say should because I know a lot of child stuff is still buggy. It's supposed to chain post process, reflections, etc. and it doesn't do most of this, but the basics should at least work) /site/more/otherMethod calls more.otherMethod() Generally, member ApiProviders are treated like subdirectories brought in. |
Ahh, I see, thanks. ----- Original Message -----
|
anywho it seems to work now for me still so we should be fixed |
On IIS 5.1 (XP Pro), this line (cgi.d, line 134) triggers a range violation:
assert(pathInfo[0 .. scriptName.length] == scriptName);
If the URL is: http://localhost/darticles/articles-debug.exe/
Then:
pathInfo == "/"
scriptName == "/darticles/articles-debug.exe"
The text was updated successfully, but these errors were encountered: