[Mono-list] web.config location on Linux???

Abe Gillespie abe.gillespie at gmail.com
Thu Jun 16 12:46:56 EDT 2011

Putting the Web.config file in the root of the web app should work.  Ensure
this isn't a casing issue - be absolutely certain that the characters
exactly match "Web.config".


On Thu, Jun 16, 2011 at 12:34 PM, Tim O'Neal <toneal at suffolk.edu> wrote:

>  Colleagues,
> I’m a newbie to asp.net and to mono, so my apologies if I’m asking
> something stupid. I’ve also tried to read the docs and search the Internet.
> I’m trying to configure mod_mono for Apache httpd server on RHEL Linux.  I
> use the standard RHEL linux file layout/locations for config files, where
> /etc/httpd/conf.d/mod_mono.conf and /etc/httpd/conf.d/httpd-vhosts.conf
> reside.  Mod_mono module gets loaded and “seems” to work.  That is, I can
> run the mono demo/test application, and I can run successfully one of my
> legacy .ASP files “if I change the file-type from .ASP to .ASPX”.
> However, that successfully run .asp file ( prospect_forms/infoform_g.aspx )
> has an “action” .asp file that it calls (prospect_forms/infoactiong.aspx ).
> This latter  .asp file ( infoactiong.aspx ) generates an error as follows:
> *Server Error in '/prospect_forms' Application*
>  *Description:* An application error occurred on the server. The current
> custom error settings for this application prevent the details of the
> application error from being viewed remotely (for security reasons). It
> could, however, be viewed by browsers running on the local server machine.
> *Details:* To enable the details of this specific error message to be
> viewable on remote machines, please create a <customErrors> tag within a
> "web.config" configuration file located in the root directory of the current
> web application. This <customErrors> tag should then have its "mode"
> attribute set to "Off".
> <!-- Web.Config Configuration File -->
> <configuration>
>     <system.web>
>         <customErrors mode="Off"/>
>     </system.web>
> </configuration>
> QUESTION:  Where in my web site configuration should this “web.config” file
> be located so that I can see the errors generated --- per above message?
> Also, I know that mono does not provide .asp support, but it does seem to
> work if I change the file types to .aspx.  Can I add the file type .asp to
> be handled by mod_mono?  BTW, I’m using the default xsp server.
> BTW, previously I used ChiliSoft ASP with Apache on Sparc Solaris, but am
> trying to move to Intel Linux while not substantially changing the web site
> web pages (some of which contain some .asp files).  I’d use ChiliSoft if I
> could successfully get it to work on Intel Linux (There used to be a Linux
> version of ChiliSoft out there, but I can’t locate it).
> Thanks,
> Tim
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20110616/7dc579e7/attachment.html 

More information about the Mono-list mailing list