Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: users

Creating a Mono / ASP.NET application in Cherokee

 

 

Cherokee users RSS feed   Index | Next | Previous | View Threaded


rarvind at users

Oct 15, 2009, 12:41 AM

Post #1 of 5 (519 views)
Permalink
Creating a Mono / ASP.NET application in Cherokee

Hello,

How can i define a new mono application under cherokee ?


I have a name based virtual server which handles all asp.net requests.

Inside this, in the behaviour tab, i added a new target called
/myapp
made it to server fcgi and configured the mono interpreter as described in the cherokee docs.

Now, if i try to run http://virtual-server/myapp/default.aspx, it complains with a http 500.

any file in http://virtual-server/default.aspx works fine.
can anybody please shed some light on this ?

Arvind

P.S
In apache, this is how it is done.

Alias /AspNetOnApache "/usr/share/doc/xsp/test"
MonoApplications "/AspNetOnApache:/usr/share/doc/xsp/test"


<Location /AspNetOnApache>
SetHandler mono
</Location>


From cricket scores to your friends. Try the Yahoo! India Homepage! http://in.yahoo.com/trynew
_______________________________________________
Cherokee mailing list
Cherokee [at] lists
http://lists.octality.com/listinfo/cherokee


taher at unixwars

Oct 19, 2009, 4:23 AM

Post #2 of 5 (467 views)
Permalink
Re: Creating a Mono / ASP.NET application in Cherokee [In reply to]

Hello Arvind.
Sorry it took so long to answer. I totally missed your email until now.

Arvind Rangan wrote:
> Hello,
>
> How can i define a new mono application under cherokee ?
>
> I have a name based virtual server which handles all asp.net requests.
>
> Inside this, in the behaviour tab, i added a new target called
> /myapp
> made it to server fcgi and configured the mono interpreter as described in the cherokee docs.
>
> Now, if i try to run http://virtual-server/myapp/default.aspx, it complains with a http 500.
>
> any file in http://virtual-server/default.aspx works fine.
> can anybody please shed some light on this ?
>
> Arvind
>
Is the check-file checkbox enabled?
Are you editing your information source? I suppose either the
MONO_FCGI_APPLICATIONS environment variable or the interpreter option
--applications should modify "/:" to "/myapp".

--
taher [at] unixwars
http://unixwars.com/

_______________________________________________
Cherokee mailing list
Cherokee [at] lists
http://lists.octality.com/listinfo/cherokee


taher at unixwars

Oct 19, 2009, 10:25 AM

Post #3 of 5 (466 views)
Permalink
Re: Creating a Mono / ASP.NET application in Cherokee [In reply to]

I forgot to tell before, but after my previous reply I commited a
configuration Wizard (to be shipped with 0.99.25). If you are using
trunk, please give it a try.
It should allow to do what you want. Please report back if it gives you
any kind of problem.

I think it is working, but more testing is required. I'd really love to
have it well polished by the release day ;-)
You can find it under Platforms -> Mono, and should work both with
mono-fastcgi-server2 and mono-fastcgi-server.

Taher Shihadeh wrote:
> Hello Arvind.
> Sorry it took so long to answer. I totally missed your email until now.
>
> Arvind Rangan wrote:
>> Hello,
>>
>> How can i define a new mono application under cherokee ?
>> I have a name based virtual server which handles all asp.net requests.
>> Inside this, in the behaviour tab, i added a new target called /myapp
>> made it to server fcgi and configured the mono interpreter as
>> described in the cherokee docs.
>>
>> Now, if i try to run http://virtual-server/myapp/default.aspx, it
>> complains with a http 500.
>>
>> any file in http://virtual-server/default.aspx works fine. can
>> anybody please shed some light on this ?
>> Arvind
> Is the check-file checkbox enabled?
> Are you editing your information source? I suppose either the
> MONO_FCGI_APPLICATIONS environment variable or the interpreter option
> --applications should modify "/:" to "/myapp".


--
taher [at] unixwars
http://unixwars.com/

_______________________________________________
Cherokee mailing list
Cherokee [at] lists
http://lists.octality.com/listinfo/cherokee


rarvind at users

Oct 19, 2009, 10:27 AM

Post #4 of 5 (468 views)
Permalink
Re: Creating a Mono / ASP.NET application in Cherokee [In reply to]

> >

> > How can i define a new mono application under cherokee ?
> > I have a name based virtual server which handles all asp.net requests.
> > Inside this, in the behaviour tab, i added a new target called /myapp
> > made it to server fcgi and configured the mono interpreter as described in the
> cherokee docs.
> >
> > Now, if i try to run http://virtual-server/myapp/default.aspx, it complains
> with a http 500.
> >
> > any file in http://virtual-server/default.aspx works fine. can anybody please
> shed some light on this ?
> > Arvind
> >
> Is the check-file checkbox enabled?
> Are you editing your information source? I suppose either the
> MONO_FCGI_APPLICATIONS environment variable or the interpreter option
> --applications should modify "/:" to "/myapp".
>


Is there a way to enable automatic applications ?
something on these lines ?
http://mono-project.com/AutoHosting

thanks
Arvind



Try the new Yahoo! India Homepage. Click here. http://in.yahoo.com/trynew
_______________________________________________
Cherokee mailing list
Cherokee [at] lists
http://lists.octality.com/listinfo/cherokee


taher at unixwars

Oct 22, 2009, 9:31 AM

Post #5 of 5 (457 views)
Permalink
Re: Creating a Mono / ASP.NET application in Cherokee [In reply to]

Hi Arvind.

My email filters have gone wild lately and I've been misplacing a lot of
stuff. Sorry for the delay.

Arvind Rangan wrote:
>
>
>>> Now, if i try to run http://virtual-server/myapp/default.aspx, it complains with a http 500. any file in http://virtual-server/default.aspx works fine. can anybody please shed some light on this ?
>>>
>> Is the check-file checkbox enabled?
>> Are you editing your information source? I suppose either the
>> MONO_FCGI_APPLICATIONS environment variable or the interpreter option
>> --applications should modify "/:" to "/myapp".
>>
>
>
> Is there a way to enable automatic applications ?
> something on these lines ?
> http://mono-project.com/AutoHosting
>
First of all, did you try out the Mono Wizard? I'd love to know if it
helped.
Then, regarding AutoHosting, does that Apache module do anything fancy
or simply having the ability to use aspx indexe files would suffice for
all your applications configured for handling by the mono-server
information source?

If the answer is yes, you'd have te set up the dirlist handler to be
able to use the defined index files. Bare in mind that my Mono
experience is non-existent, so I could be missing everything.
If the wizard doesn't help you out, but you think this approach is
correct, please tell me. I'll gladly improve the wizard ASAP.

--
taher [at] unixwars
http://unixwars.com/

_______________________________________________
Cherokee mailing list
Cherokee [at] lists
http://lists.octality.com/listinfo/cherokee

Cherokee users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.