Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6920117
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T10:06:25+00:00 2026-05-27T10:06:25+00:00

Am using a CentOS 5.3 box as prod server and am trying to get

  • 0

Am using a CentOS 5.3 box as prod server and am trying to get mono running there. after much sifting i managed to install version 2.10.2 via yum.
i installed also xsp and mod_mono the same way and created a simple hello world web page. thing is its not running. iam guessing something is up with my config files which are responsible for this.
Being a newbie on both linux and apache configuration, i dont know whats wrong.

I have tried to follow some relative responses on the site but i cant get it work.
So here is what ive done:

installed mono, xsp and mod_mono via yum;
added to httpd.conf (mine is in /usr/local/apache/conf)

Include “/usr/local/apache/conf.d/*.conf”

then i created the following /usr/local/apache/conf.d/mod_mono.conf file :

MonoAutoApplication enabled

LoadModule mono_module /usr/lib/httpd/modules/mod_mono.so

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

Alias /gpsmapper /usr/local/apache/htdocs/gpsmapper

MonoApplications “/gpsmapper:/usr/local/apache/htdocs/gpsmapper”

MonoServerPath “/opt/novell/mono/lib/mono/4.0/mod-mono-server4.exe”

SetHandler mono

i created an index.aspx under htdocs/gpsmapper but am getting a 503 Service temporarily unavailable.

Is any setting i made wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T10:06:26+00:00Added an answer on May 27, 2026 at 10:06 am

    You mix “MonoAutoApplication” and “MonoApplications” in the same file. I don’t think it works.
    The AutoConfiguration feature allows precisely to avoid having to declare the application.

    Here is my own mod_mono.conf (used on Mac OS X 10.7.2 and Linux Ubuntu 11.04) :

    <IfModule !mono_module>
        LoadModule mono_module "libexec/apache2/mod_mono.so"
    </IfModule>
    
    <IfModule mono_module>
        AddType application/x-asp-net .config .cs .csproj .dll .resources .resx .sln .vb .vbproj
        AddType application/x-asp-net .asax .ascx .ashx .asmx .aspx .axd .browser .licx .master .rem .sitemap .skin .soap .webinfo
    
        MonoAutoApplication enabled
        MonoDebug true
        MonoServerPath "/usr/bin/mod-mono-server4"
        MonoSetEnv LANG=fr_FR.UTF-8
        MonoUnixSocket "/tmp/.mod_mono"
    
        <IfModule dir_module>
            DirectoryIndex Default.aspx
        </IfModule>
    
        <DirectoryMatch "/(bin|App_Code|App_Data|App_GlobalResources|App_LocalResources)/">
            Order deny,allow
            Deny from all
        </DirectoryMatch>
    
        <Location "/Mono">
            Order deny,allow
            Deny from all
            Allow from 127.0.0.1 ::1
            SetHandler mono-ctrl
        </Location>
    </IfModule>
    

    As you can see, I never define any Alias or MonoApplications directive.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

There are different mysql install packages for differential platforms. http://www.mysql.com/downloads/mysql/#downloads I'm using CentOS, which
I'm trying to install Glassfish 3.1.1 on Centos 6.2 Linux server with Apache HTTP
I have php 5.1.6 running on my CentOS 5 server running Apache 2.2.3 I
I'm working on setting up a production server using CentOS 5.3, Apache, and Phusion
I am running CentOS 5.2 and using yum to manage packages. I have had
I have a website running on CentOS using the usual suspects (Apache, MySQL, and
I followed this thread to install Mono on my Fedora box: Install Mono on
I am using centos Server and have to send the mail to the user
I have a CentOS box running a number of web applications and I use
I'm using virtualbox and trying to get my centos6 virtual machine onto the network.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.