[Mono-list] HttpRequest.PathInfo
Gonzalo Paniagua Javier
gonzalo at ximian.com
Mon Oct 31 15:06:28 EST 2005
On Mon, 2005-10-31 at 20:23 +0100, Charlie wrote:
> Hi
>
> I am mucking around writing yet another web based image gallery viewer.
> I am using with HttpRequest.PathInfo determine what to look at and
> noticed that when running under mono index.aspx is tacked on to the end
> of the PathInfo if the last character is '/':
> ie for the request:
> http://myserver/image/image.aspx/200309OeSTM/
>
> apache sees:
> apache log: "GET /image/image.aspx/200309OeSTM/ HTTP/1.1"
>
> Request.PathInfo:
> mod_mono: /200309OeSTM/index.aspx
> iis5: /200309OeSTM/
I would say that this is a problem in your configuration. Does that file
exist? Are you using DirectoryIndex index.aspx?
-Gonzalo
More information about the Mono-list
mailing list