[Mono-list] Re: mod_mono and apache virual servers
Christopher Nehren
apeiron+usenet at coitusmentis.info
Sun May 22 22:18:17 EDT 2005
On 2005-05-21, Tomek Kluz scribbled these
curious markings:
> Hello
>
> I installed mod_mono with apache 2., and everything is working perfect, =
> but i have no idea, how to configure it for virtual server. I have many =
> virual domain (with php+mysql pages), and now want to publish one with =
> mono+apache. Certainly it works with alias ie: www.xxx.com/sth but I =
> want it wroking for www.xxx.com. Any ideas?=20
> Thx, and regards=20
> tk.
Here's a VirtualHost directive that's in my httpd.conf:
<VirtualHost 192.168.0.6:80>
ServerAdmin cnehren at gmail.com
DocumentRoot /usr/home/apeiron/public_html
ServerName www.coitusmentis.info
ServerAlias coitusmentis.info *.coitusmentis.info
ErrorLog /var/log/coitusmentis-error.log
CustomLog /var/log/coitusmentis-access.log combined
ScriptAlias /perl /usr/home/apeiron/public_html/perl
<Location /perl>
Options +ExecCGI
PerlSendHeader On
PerlOptions +GlobalRequest
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
</Location>
Alias /asp /usr/home/apeiron/public_html/asp
MonoApplications /asp:/usr/home/apeiron/public_html/asp
MonoExecutablePath /usr/local/bin/mono
MonoServerPath /usr/local/lib/mono/1.0/mod-mono-server.exe
MonoDocumentRootDir /usr/home/apeiron/public_html/asp
<Location /asp>
SetHandler mono
</Location>
</VirtualHost>
FreeBSD 5.4-PRERELEASE (yeah, I know, but it's been up for 51 days, heh
:). Apache 2.0.54.
Best Regards,
Christopher Nehren
--
I abhor a system designed for the "user", if that word is a coded
pejorative meaning "stupid and unsophisticated". -- Ken Thompson
If you ask the wrong questions, you get answers like "42" and "God".
Unix is user friendly. However, it isn't idiot friendly.
More information about the Mono-list
mailing list