LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-03-2007, 08:38 PM   #1
wslyhbb
Member
 
Registered: Apr 2002
Location: Chicago, IL
Distribution: Mandriva 2009.0 PowerPack x86_64
Posts: 150

Rep: Reputation: 15
Apache2, Mono, and ASP.NET 2.0


I have an Apache2 server running on a Mandriva 2007 server. I installed Mono and got Apache setup to host ASP.NET pages. However, by default it is only ASP.NET 1.1 and I would like to run ASP.NET 2.0. I have tried adding MonoServerPath /usr/bin/2.0/mod-mono-server2 to my config and restart Apache and I get service unavailable. I have also tried MonoServerPath /usr/lib/mono/2.0/mod-mono-server2.exe with the same result. I have tried a couple of other things but they resulted in the browser asking where I wanted to save a application/x-asp-net document.

Can someone please explain to me what I need to do to get ASP.NET 2.0 working on the root folder (/var/www/html). My mod_mono.config is as follows:
<IfModule !mod_mono.c>
LoadModule mono_module extramodules/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
</IfModule>

#MonoServerPath /usr/bin/2.0/mod-mono-server2
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
sun asp install problems on apache2 snip128 Linux - Newbie 0 08-04-2005 03:55 AM
SuSE 9.2 ASP.NET with Mono Icarus315 Linux - Software 1 01-31-2005 08:37 AM
Using Mono for the .NET Framework chalewa4bambu Linux - Software 0 07-04-2004 03:32 PM
ASP.NET and MySQL montylee Programming 0 02-04-2004 12:34 AM
MONO .Net Middleware GtkUser Programming 2 12-19-2003 08:05 AM


All times are GMT -5. The time now is 12:33 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration