Unable to run apache with include mod_mono.conf

View: New views
2 Messages — Rating Filter:   Alert me  

Unable to run apache with include mod_mono.conf

by arkain :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have included the command 'include mod_mono.conf' in my httpd.conf file but when I start apache I get the error:
Syntax error on line 10 of /etc/apache/mod_mono.conf:
Invalid command 'AddType', perhaps mis-spelled or defined by a module not included in the server configuration failed!

Also when I stop Apache I get this error '[error] Cannot remove module mod_mono.c: not found in module list' in Apache's error.log

If I just use 'LoadModule mono_module /usr/lib/apache/1.3/mod_mono.so' in httpd.conf Apache will run but .NET pages will not be served. Regular html pages load fine.

Re: Unable to run apache with include mod_mono.conf

by arkain :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Fixed this by typing Include /etc/apache/mod_mono.conf before Include /etc/apache/modules.conf