[Mono-list] Problem with XSP

Cory Nelson phrosty@int64.org
Thu, 4 Mar 2004 15:47:49 -0800


This is a multi-part message in MIME format.

------=_NextPart_000_0013_01C40200.0C5F3C40
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

The socket file is changed back every time xsp is started, maybe that is
your problem.  What I do is start XSP with sudo and have it run under
apache's user/group.  Solves those problems nicely and doesn't make you
chmod a potentially important file 777 :)
=20
Another thing are you sure you setup apache correctly?  You may want to =
add
index.aspx to your index pages.

  _____ =20

From: mono-list-admin@lists.ximian.com
[mailto:mono-list-admin@lists.ximian.com] On Behalf Of Siddhartha =
Upadhyaya
Sent: Wednesday, March 03, 2004 9:05 PM
To: mono-list@ximian.com
Subject: [Mono-list] Problem with XSP



Sir,

     My name is Siddhartha Upadhyaya. I want to create an environment =
for
ASP.Net in Linux environment. For this I am using the tools provided by
mono.

    I successfully build the c# compiler, which successfully working =
with
"Hello World" and as well as some database operation (Postgresql Npgsql =
&
MS-Sql database). It is working fine.

    For ASP.Net I need a web server and I download XSP. I compile it and
except some database operation it is working fine with the test site =
comes
with XSP.

    Now I want to bind XSP with Apache (1.3 I am using). For this I =
compile
mod_mono. The module is build properly, and I make the changes required =
for
mono modules. Since during Apache startup it is not providing any error, =
but
when I am requesting for the ASP.Net virtual directory, it is showing =
403
(forbidden) error.

    Can you suggest me what problem it is. And which file is the
configuration file for mod_mono_server, like in Java-tomcat server.xml =
is
the configuration file.

=20

With Thanks & Regards

Siddhartha Upadhyaya

=20

Ps: I change the permission for the socket file mod_mono..., to 0777. =
Still
it is not working.


  _____ =20

Do you Yahoo!?
Yahoo! Search - Find what you=12re looking for
<http://search.yahoo.com/?fr=3Dad-mailsig-home> faster.

------=_NextPart_000_0013_01C40200.0C5F3C40
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns:o =3D "urn:schemas-microsoft-com:office:office"><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2900.2082" name=3DGENERATOR></HEAD>
<BODY>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D732544323-04032004><FONT =
face=3DArial=20
size=3D2>The socket file is changed back every time xsp is started, =
maybe that is=20
your problem.&nbsp; What&nbsp;I do is start XSP with sudo and have it =
run under=20
apache's user/group.&nbsp; Solves those problems nicely and doesn't make =
you=20
chmod a potentially important file 777 :)</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D732544323-04032004><FONT =
face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D732544323-04032004><FONT =
face=3DArial=20
size=3D2>Another thing are you sure you setup apache correctly?&nbsp; =
You may want=20
to add index.aspx to your index pages.</FONT></SPAN></DIV><BR>
<DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft>
<HR tabIndex=3D-1>
<FONT face=3DTahoma size=3D2><B>From:</B> =
mono-list-admin@lists.ximian.com=20
[mailto:mono-list-admin@lists.ximian.com] <B>On Behalf Of </B>Siddhartha =

Upadhyaya<BR><B>Sent:</B> Wednesday, March 03, 2004 9:05 =
PM<BR><B>To:</B>=20
mono-list@ximian.com<BR><B>Subject:</B> [Mono-list] Problem with=20
XSP<BR></FONT><BR></DIV>
<DIV></DIV>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Sir,<o:p></o:p></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp;&nbsp; =
My name is=20
Siddhartha Upadhyaya. I want to create an environment for ASP.Net in =
Linux=20
environment. For this I am using the tools provided by=20
mono.<o:p></o:p></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp; I =
successfully=20
build the c# compiler, which successfully working with "Hello World" and =
as well=20
as some database operation (Postgresql Npgsql &amp; MS-Sql database). It =
is=20
working fine.<o:p></o:p></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp; For =
ASP.Net I=20
need a web server and I download XSP. I compile it and except some =
database=20
operation it is working fine with the test site comes with=20
XSP.<o:p></o:p></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp; Now I =
want to=20
bind XSP with Apache (1.3 I am using). For this I compile mod_mono. The =
module=20
is build properly, and I make the changes required for mono modules. =
Since=20
during Apache startup it is not providing any error, but when I am =
requesting=20
for the ASP.Net virtual directory, it is showing 403 (forbidden)=20
error.<o:p></o:p></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp; Can you =
suggest=20
me what problem it is. And which file is the configuration file for=20
mod_mono_server, like in Java-tomcat server.xml is the configuration=20
file.<o:p></o:p></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">&nbsp;<o:p></o:p></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">With Thanks &amp;=20
Regards<o:p></o:p></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Siddhartha=20
Upadhyaya<o:p></o:p></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">&nbsp;<o:p></o:p></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Ps: I change the =
permission for the=20
socket file mod_mono..., to 0777. Still it is not =
working.<o:p></o:p></SPAN></P>
<P>
<HR SIZE=3D1>
Do you Yahoo!?<BR>Yahoo! Search - <A=20
href=3D"http://search.yahoo.com/?fr=3Dad-mailsig-home">Find what =
you=12re looking for=20
faster.</A></BODY></HTML>

------=_NextPart_000_0013_01C40200.0C5F3C40--