[Mono-list] Problem with starting Appache server and libmod_mono

Evgeny Pirogov pirogov.e at gmail.com
Sat Jun 23 10:29:28 EDT 2007

When I add LoadModule directive to httpd.conf and configure my VirtualHost :

ServerAlias www.bhph.com
ServerAdmin webmaster at bhph.com
DocumentRoot /home/bhph/public_html
User bhph
Group bhph
ServerName bhph.com

LoadModule mono_module /usr/lib64/httpd/modules/libmod_mono.so
MonoServerPath default /usr/bin/mod-mono-server2
AddMonoApplications default "/:/home/bhph/public_html"
<Directory "/home/bhph/public_html">
    Other allow, deny
    Allow from all
    SetHandler mono
    <ifModule mod_dir.c>
        DirectoryIndex index.aspx
    </ifModule  >

User bhph
Group bhph
BytesLog /usr/local/apache/domlogs/bhph.com-bytes_log
CustomLog /usr/local/apache/domlogs/bhph.com combined
ScriptAlias /cgi-bin/ /home/bhph/public_html/cgi-bin/

<Location "/home/bhph/public_html">
    AddHandler mono .aspx .ascx .asax .ashx .config .cs .asmx

I have next error with starting apache server :

[root at H101 init.d]# httpd start
Syntax error on line 212 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/lib64/httpd/modules/libmod_mono.so into server:
/usr/lib64/httpd/modules/libmod_mono.so: undefined symbol:
/usr/sbin/httpd start: httpd could not be started

Please help me.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070623/867a3e81/attachment.html 

More information about the Mono-list mailing list