LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-06-2008, 02:58 PM   #1
kcorupe
Member
 
Registered: Nov 2004
Location: Arizona
Distribution: Arch
Posts: 107

Rep: Reputation: 15
Setting up Mono with apache


Box is running CentOS 5, I'm stuck and can't figure out why its not working, any ideas?

I get a 503 when I try and go to the xsp test pages that I copied to my rootweb dir

"Service Temporarily Unavailable"

This is the error msgs I see in the apache error_log


Code:
** (/usr/lib/mono/2.0/mod-mono-server2.exe:15123): WARNING **: Could not find assembly Mono.WebServer2, references from /u
sr/lib/mono/2.0/mod-mono-server2.exe (assemblyref_index=1)
     Major/Minor: 0,2
     Build:       0,0
     Token:       0738eb9f132ed756
System error: No such file or directory

cannot open assembly /usr/lib/mono/2.0/mod-mono-server2.exe


Here is the mono.conf in /etc/httpd/conf.d/

Code:
# mod_mono.conf

# Acthung! This file may be overwritten
# Use 'include mod_mono.conf' from other configuration file
# to load mod_mono module.

<IfModule !mod_mono.c>
    LoadModule mono_module /usr/lib/httpd/modules/mod_mono.so
    MonoServerPath "/usr/bin/mod-mono-server2"
    MonoAutoApplication enabled

    AddType application/x-asp-net .aspx
    AddType application/x-asp-net .asmx
    AddType application/x-asp-net .ashx
    AddType application/x-asp-net .asax
    AddType application/x-asp-net .ascx
    AddType application/x-asp-net .soap
    AddType application/x-asp-net .rem
    AddType application/x-asp-net .axd
    AddType application/x-asp-net .cs
    AddType application/x-asp-net .config
    AddType application/x-asp-net .Config
    AddType application/x-asp-net .dll
    DirectoryIndex index.aspx
    DirectoryIndex Default.aspx
    DirectoryIndex default.aspx
</IfModule>
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
paint-mono (Paint.net for Mono) Installer? caa1980 Linux - Software 0 10-03-2007 10:52 AM
Cannot use Mono with Apache, Please help. jc_cpu Linux - Software 3 04-23-2007 03:04 AM
apache + mono-apache-server2 + mod_mono = little problems... Hedon Debian 1 02-13-2007 12:17 PM
Help Mono Installed But Mono Develop Won't Load TheGreatGonzo Slackware 8 05-18-2006 06:42 AM
setting setting umask for apache user only....how?..plz help mickyman Linux - General 0 05-08-2006 04:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration