[Mono-list] HttpRequest.PathInfo
Charlie
mono-list at charlie.at
Mon Oct 31 14:23:10 EST 2005
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/
for http://myserver/image/image.aspx/200309OeSTM
works as expected:
mod_mono: /200309OeSTM
iis5: /200309OeSTM
for requests ending in a file name it also works as expected
http://myserver/image/image.aspx/200309OeSTM/9628_04.jpg
mod_mono: /200309OeSTM/9628_04.jpg
iis5: /200309OeSTM/9628_04.jpg
suse 9.3 & mono 1.1.9.3 from the download page
regards
charlie
--
----------------------------------------------------------------------
"Charlie's Air Action Adventure" Karl-Heinz Woytech
www.charlie.at irgendetwas at charlie.at
!DSPAM:43666f1f70221777111924!
More information about the Mono-list
mailing list