[Mono-list] MonoDocumentRootDir for virtual hosts / dll library
Gonzalo Paniagua Javier
reply.to.the.list.iam.suscribed@notexists.ximian.com
Thu, 20 Jan 2005 13:29:20 -0500
On Thu, 2005-01-20 at 10:59 +0000, Chris Aitken wrote:
[...]
> What purpose does the MonoDocumentRootDir serve?
> Currently, when I start mod-mono-server, it sets the Root Dir to the current
> directory. If I have:
> <add key="MonoDocumentRootDir " value="/tmp" />
> Then it set the Root Dir as /tmp.
>
> But what is the difference - why would I be bothered about about where the
> root dir is?
If you run it as a 'daemon', you might want to set the root dir to '/'
to prevent problems when unmounting devices.
>
> AND....How does the mod-mono-server know where my global application cache
> is?
mod-mono-server does not know. The mono runtime does.
> Under Debian's original setup, when defining a web-app (with
> mono-server-admin.conf), one would define a --lib (which for some reason the
> example was set for /usr/share/dotnet/lib - an empty directory).
>
> My libraries are in /usr/share/dotnet/mono/gac. Is there any need to pass
> this location (I know I can put dlls into the local application cache ).
The best choice is to add those to the gac. Otherwise, you can use
MONO_PATH (see 'man mono').
-Gonzalo