[Mono-list] Mapping across application not allowed?
chris at ion-dreams.com
Sat Jul 23 06:23:50 EDT 2005
> Well, I guess no one has an answer.
This may/may not help...
> I have made two significant discoveries. If I put the new
> user control in the same directory as the page I'm calling it
> from, it works just fine. Also, if I put the user control in
> any directory below the root directory and call it from a
> page in the root directory, it works just fine. My existing
> user controls are called from pages in the root directory, as
> well as all of the other pages in all of my subdirectories
> (headers, footers, and menus for every page in the site). It
> appears that the only time it doesn't work is if the user
> control is not included on a page in the root directory or it
> is not in the same directory as the page that is trying to
> include it. I have no way of knowing if this is a fact, but
> it appears to be. I don't have this problem with IIS, so I
> assume it's a bug in Mono or something about mod_mono and Apache.
I have a user control (a footer, with a copyright statement ) in
***Note / is my webroot***
I have pages in "/" and also in "/working/" that happily call the footer,
<h6>Copyright © HostMono 2005</h6>
<%@ Register TagPrefix="UserControl" TagName="Footer"
<UserControl:Footer id="myFooter" runat="Server" />
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the Mono-list