[Pkg-mono-devel] libapache2-mod-mono
Pablo Fischer
pablo@pablo.com.mx
Wed, 11 Aug 2004 13:32:36 -0500
--=-v5t7IAZm7S0bJPzqLDG/
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Hlo,
> <IfModule mod_userdir.c>
> UserDir public_html
> UserDir disabled root
>=20
> <Directory /home/*/public_html>
> ...
> </Directory>
> </IfModule>
>=20
> This requires no editing of Apache configuration when a user is added or
> removed. Can we accomplish the same when a site is using mod_mono as
> well as mod_userdir?
Hm.. sure, or we can set mod_mono also to public_html, a 'generic'
public_html where the user can upload his .aspx files or .php files, or
whatever.
> Ok, this sounds good, there is just the point above about requiring no
> extra steps when a regular user is added and you use mod_userdir. Would
> something like this work:
>=20
> <VirtualHost *>
> ServerName foobar.com
> ServerAlias www.foobar.com foobar.com
> <Directory /home/*/public_asp>
> SetHandler mono
> <IfModule mod_dir.c>
> DirectoryIndex index.aspx
> </IfModule>
> </Directory>
> </VirtualHost>
>=20
Easy, I only need to write a function in the update-mono-server.conf to
create apache VirtualHost if the host is not localhost or 127.0.0.1.
> I assume the usual Apache directives will work so that the server admin
> can restrict what the user can set in the .htaccess file?
I don't know, really, need more info. I hope that with .htaccess the
user can set 'basic' directives, not advanced ones.
See ya,
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
--=-v5t7IAZm7S0bJPzqLDG/
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)
iD8DBQBBGmZECEChCnSk5cARAlpmAJoCVjclwnKEwoxnaBNcfI6MIgmRFgCeKR+D
94FClSh0X0YLXshVGsxjd3o=
=Lvcb
-----END PGP SIGNATURE-----
--=-v5t7IAZm7S0bJPzqLDG/--