[Mono-list] Problems with XSP

Richard Torkar richard.torkar@htu.se
28 Feb 2003 11:22:26 +0100


On Fri, 2003-02-28 at 10:40, Gonzalo Paniagua Javier wrote:
> El vie, 28 de 02 de 2003 a las 09:34, Carlos Alberto Cortez escribió:
> > System.Web.HttpException: File '/mono/xsp/server/' does not exist
> > in <0x000e4> 00 System.Web.StaticFileHandler:ProcessRequest
> > (System.Web.HttpContext)
> > in <0x001b6> 00 .ExecuteHandlerState:Execute ()
> > in <0x0005e> 00 .StateMachine:ExecuteState (IStateHandler,bool&)
> > 
> > Any idea ???
> 
> Some people using redhat (?) reported this, but I have not been able to
> reproduce it.
> 
> Try using the --root command line argument.
> 

I'm using RH as well and I have also have a problem but not whit this
AFAICT.

When I go to my root directory / with the browser (http://localhost) I
get this:

Error in '/mono' Application

________________________________________________________________________
Error
Description: Error processing request. 

Error Message: File '/var/www/html/mono/x.html' does not exist

Stack Trace: 
System.Web.HttpException: File '/var/www/html/mono/x.html' does not exist
in <0x000ff> 00 System.Web.StaticFileHandler:ProcessRequest (System.Web.HttpContext)
in <0x001b6> 00 .ExecuteHandlerState:Execute ()
in <0x0005e> 00 .StateMachine:ExecuteState (IStateHandler,bool&)

(In / I have an index.html file which it should hit and not mono/x.html.
Before installing the mod_mono RPM it used index.html in / without a
problem).

What I have done to solve this is creating an x.html in mono/ and in
that file simply redirect it to mono/index.aspx i.e.

<HTML>
<HEAD>
<META http-equiv="refresh" content="2;
URL=http://localhost/mono/index.aspx">
</HEAD>
</HTML>

At least when going to localhost I get a nice Mono page with all the
examples now :) (But I'd prefer having my regular index.html file and
then a link to mono/index.aspx) ;)


/Richard
-- 
Ph.D. Student
Dept. of Informatics and Mathematics
HTU