[Mono-devel-list] ASP.NET question

Joseph Hill jhill at arcfocus.com
Mon Apr 26 11:36:06 EDT 2004


This was bug 54231 and is fixed in CVS.  Tilde (~) should (and now does)
resolve to the Application Path in both MS ASP.NET and Mono.  Hope that
helps.

Good luck with your portal,

Joseph Hill


-----Original Message-----
From: mono-devel-list-admin at lists.ximian.com
[mailto:mono-devel-list-admin at lists.ximian.com] On Behalf Of Christian
Mol
Sent: Sunday, April 25, 2004 9:48 AM
To: mono-devel-list at lists.ximian.com
Subject: [Mono-devel-list] ASP.NET question

Hi,

Currently I am translating the ASP.NET portal starterkit to Delphi and
make
some adjustments to it. A minor problem does come up however.
In IIS you can use the ~ in your urls like this

<asp:imagebutton imageurl="~/images/delete.gif" commandname="delete"
alternatetext="Remove user from this role" runat="server"
id="Imagebutton1"/>

Under IIS this is translated in the application root if I'm right.
However when running the same site under Apache/Mod-mono the ~ is
something
else.
Who is responsible for the translation of the ~? Apache / mod-mono? Can
I
get it to behave the same as in IIS?

Greets,

Christian Mol



More information about the Mono-devel-list mailing list