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

Tim O'Neal toneal at suffolk.edu
Thu Jun 16 12:34:02 EDT 2011


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 -->


        <customErrors mode="Off"/>

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).



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20110616/244923eb/attachment.html 

More information about the Mono-list mailing list