|
[Webware-devel] Not getting context from URL
From: Ben Kovitz <bkovitz@ac...> - 2003-12-18 06:55
|
Hi, folks. I'm having a problem executing a .psp file: the WebKit application server refuses to serve it (or any .psp file in that directory), always giving a 404 error. Some poking around in the code revealed that Application.serverSideInfoForRequest() wasn't getting the context out of the URL. request._absolutepath had been set, causing serverSideInfoForRequest() to give up immediately and return no context. _absolutepath gets set by the apache module when it recognizes a .psp file. Any idea how to get around this? I figure there must be a way around it, because in my default context, .psp files work fine. I tried hacking serverSideInfoForRequest() so it would recognize the exact URL and force the context to be the one I want, but that had no effect. (Yes, I restarted the application server. And Apache, too.) Or, maybe just ignore all that. The *real* thing I want to do is just stick a .psp file in an arbitrary directory and run it. Is there anything else I need to do beside adding a context to Configs/Application.config? Thanks, Ben Kovitz Caltech http://sbml.org |
| Thread | Author | Date |
|---|---|---|
| [Webware-devel] Not getting context from URL | Ben Kovitz <bkovitz@ac...> |