[Mono-list] Apache/mod_mono, is apache supposed to start xsp
Gonzalo Paniagua Javier
Tue, 22 Feb 2005 20:36:17 -0500
On Sun, 2005-02-20 at 02:03 -0600, Reno Romanin wrote:
>I was working on getting mod_mono setup to run on vhosts a while back, got
>it all running, and had some "issues" with server hardware before I could
>get a decent backup. I've been thinking about this for a while now and I
>have a couple of questions.
>1. Can mod_mono be configured like mod_php? What I mean is, can I set
>mod_mono up to have apache parse asp.net stuff anywhere I might have a web
>accessible directory? Just as apache will parse any php code no matter where
>it is accessed and requires no special setup on any vhosts?
>2. IF this is possible, is there any documentation anywhere that puts it in
>clear terms? I have googled for several things, and all the docs I come up
>with seem to have gaps, and I can never get things to work quite right.
You can use Apache's 'AddHandler mono .aspx .ascx .dll .asax ....' and
it will use mono on all those file extensions.
mod_mono has requires you to set up at least one so-called 'application'
that maps from virtual directory to physical directory. If you do this
for the root virtual directory of your server (/) and use the AddHandler
thing, you're all set.