[Pkg-mono-devel] Re: Status of mod_mono (1.0.1)

Pablo Fischer pablo@pablo.com.mx
Mon, 04 Oct 2004 17:01:38 -0500


--=-M+7GJVyKAnwdJJXPZZHk
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hello,

> I'm a but confused. I thought you said we could do it with=20
> mod-mono-server. But it also looks like you are saying we might not be=20
> able to do it.

Heh, maybe I mis explained the issue.

> If mod mono server can't then it would be nice if debian could.

Well, mono-server-admin.conf actually *does* that. It creates a
confd-style directory (like exim does and also as many other Debian
Server Applications) in a certain path (/etc/mono-server/conf.d) with a
file that will have the main data of your webapp (path, alias, and
optionally port and vhost).=20

For example, if you add a webapp using mono-server-admin.conf (the way I
highly recommends to Debian users) called: myapp.

# mono-server-admin.conf add --path=3D/where/your/aspx/files/are
--alias=3D/myapp --vhost=3Dlocalhost --port=3D80

NOTE: If you don't reclare vhost and port is OK, mono-server-admin.conf
will use localhost and 80 port (the port most common used by web
servers).

The, it will create

/etc/mono-server/conf.d/myapp/10_myapp

With the data:

alias =3D webapp
path =3D /where/your/aspx/files/are

And if you declared vhost and port they will be also added.

Then, there's another nifty tool called: mono-server-update.conf. It
will read those confd directories/files and create the Apache file
(mono-server-hosts.conf) and also the debian.webapp. And tan tan..

> It seems to me that most of the information that is read from conf.d is=20
> also already available in a different form in httpd.conf in the vhost=20
> section, so perhaps reading from there instead/as-well would be a good=20
> approach.
=20
As I said, conf.d is not an 'Apache' File/Directory, it's just a way to
maintainer/admin your webapps. Take a look at exim4.conf, apt.conf, and
others :-)

Regards,
Pablo
--=20
Pablo Fischer Sandoval (pablo [arroba/at] pablo.com.mx)
Fingerprint:  5973 0F10 543F 54AE 1E41  EC81 0840 A10A 74A4 E5C0
http://www.pablo.com.mx=20
http://www.debianmexico.org

--=-M+7GJVyKAnwdJJXPZZHk
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada
	digitalmente

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQBBYchBCEChCnSk5cARAoLDAJ9ANJJierfVGIUBYI2xaLstrjVEbwCfTmto
KOp6e29i5meNZOJCGbn9Smc=
=WYSt
-----END PGP SIGNATURE-----

--=-M+7GJVyKAnwdJJXPZZHk--