Results 1 to 5 of 5

Thread: mod_mono does not work

  1. #1
    Join Date
    Jul 2008
    Beans
    5

    mod_mono does not work

    Hi!
    I have come some way in my path to cofigure mod_mono to work with .net and aspx-files.
    But every time i tries ro reach my .aspx-file on the server the webbrowser wants to download the file instead of showing it.

    Any idea what i need to change?

  2. #2
    Join Date
    Jan 2005
    Location
    Miami, FL
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: mod_mono does not work

    not knowing anything about mod_mono, it sounds to me like apache doesnt have the mime type configured for the .aspx files. That is done with the AddType option

    http://httpd.apache.org/docs/2.0/mod...e.html#addtype

    You can see an example in /etc/apache2/mods-available/php5.conf

  3. #3
    Join Date
    Jul 2008
    Beans
    5

    Re: mod_mono does not work

    i have AddType in my mod_mono.conf,but maybe that configfile is not executed? Is there a way to tell if a config-file is executed?

  4. #4
    Join Date
    Jan 2005
    Location
    Miami, FL
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: mod_mono does not work

    is the mod_mono.conf in /etc/apache2/mods-available ? is so, have you done
    Code:
    $sudo a2enmod mod_mono
    so it is symlink'ed in mods-enabled.

  5. #5
    Join Date
    Jul 2008
    Beans
    5

    Re: mod_mono does not work

    hi!
    yes, i have enabled it and it's symlinked.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •