[Mono-list] Problems installing mod_mono on Apache 2 in Slackware
10.1
Jonathan Mezach
jmezach@home.nl
Thu, 07 Apr 2005 17:13:18 +0200
This is a cryptographically signed message in MIME format.
--------------ms070309060709010007010601
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Thomas Zoechling wrote:
> Jonathan Mezach wrote:
>
>> Hello there,
>>
>> I'm having some problems getting mod_mono to work on my Slackware
>> 10.1 with Apache 2 installed. By default Slackware 10.1 comes with
>> Apache 1.3, so I didn't install that package and got an Apache 2
>> package from www.linuxpackages.net (I need Apache 2 for SubVersion
>> stuff). Then I downloaded and installed mono 1.1.6 and libgdiplus.
>> Then I got the latest XSP and mod_mono sources, compiled and
>> installed them. XSP seems to work fine, even the .NET 2.0 test
>> version works fine. I then tried running mod_mono, but for some
>> reason this fails. Whenever I try to access a page it just doesn't
>> compile it and spits out the source ASPX file instead.
>>
>> I tried installing Apache 2 from source and when I installed mod_mono
>> on that it worked. Problem is that I've got Apache 2 set up on my
>> machine the way I want it, so it would be much more convenient to
>> just use what I've already got installed. I don't really see why it
>> wouldn't work, but I guess it has something to do with where the
>> files are located. I tried doing a diff on the configuration files,
>> but except for the obvious differences in paths I couldn't really
>> find a problem. Some help with this would be much appreciated.
>>
>> Greetings,
>>
>> Jonathan Mezach
>>
> Did you set a Handler for your aspx directory etc?
> eg:
>
> <Directory /usr/share/doc/xsp/test>
> SetHandler mono
> <IfModule mod_dir.c>
> DirectoryIndex index.aspx
> </IfModule>
> </Directory>
I've created a mod_mono.conf file and put it in /etc/apache2. Then I
added an Include line at the bottom of the main httpd.conf file. Then I
put the following into the mod_mono.conf file:
# mod_mono.conf
# Acthung! This file may be overwritten
# Use 'include mod_mono.conf' from other configuration file
# to load mod_mono module.
LoadModule mono_module /usr/lib/apache2/mod_mono.so
Alias /demo "/usr/local/share/doc/xsp/test"
MonoApplications "/demo:/usr/local/share/doc/xsp/test"
<Directory /usr/local/share/doc/xsp/test>
SetHandler mono
<IfModule mod_dir.c>
DirectoryIndex index.aspx
</IfModule>
</Directory>
Strange thing is that when I access this directory using
http://localhost/demo it doesn't access the index.aspx file, so it seems
like its not actually reading that block for some reason and might thus
not be streaming stuff to XSP, but that's just a guess.
>
> Some links:
> http://www.gotmono.net/documentation/mod-mono-howto.html
> http://www.codeproject.com/cpnet/introtomono2.asp?df=100&forumid=159057&exp=0&select=1061657
>
>
> Thomas
>
>
>
--------------ms070309060709010007010601
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJdjCC
BLcwggKfoAMCAQICAwCy9zANBgkqhkiG9w0BAQQFADB5MRAwDgYDVQQKEwdSb290IENBMR4w
HAYDVQQLExVodHRwOi8vd3d3LmNhY2VydC5vcmcxIjAgBgNVBAMTGUNBIENlcnQgU2lnbmlu
ZyBBdXRob3JpdHkxITAfBgkqhkiG9w0BCQEWEnN1cHBvcnRAY2FjZXJ0Lm9yZzAeFw0wNDEw
MDYwNjEzMDNaFw0wNTEwMDYwNjEzMDNaMDsxGTAXBgNVBAMTEENBY2VydCBVc2VyIENlcnQx
HjAcBgkqhkiG9w0BCQEWD2ptZXphY2hAaG9tZS5ubDCCASIwDQYJKoZIhvcNAQEBBQADggEP
ADCCAQoCggEBAJn0aBg8nbA+ejb1C2W4HqKhbzVdPH4i+Eqs1aYjvBBMLOE0UoPebZWQEWrI
BICMgmSMCBm2ey6q/MoJ3uh8pKzHFMd5Vgt8KRBWme+Wc9+Jsna8zgO09BoNy/bRJXhUX4Rq
wEbdQrlusVfzlqXgWNrRvIwyVnmWulUuVX5PWVHMBl4L4XbAip4p6oHACZhueukjzqnl1r+C
Kut5Zl3To+nl/ZND7kseV0JEAvikxmrZT5UYbA8J8/vve9iPWFogLjyl9ck9bsQjxfEQpLdc
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