Attempting to host a .net web application on Apache Mono
My group has been using BugTracker.NET (http://ifdefined.com/bugtrackernet.html) hosted on an Windows server running IIS. We need to relocate it to an intranet site supported on OpenSUSE running Apache.
I unfortunately do not have root on this machine. I've been able to work with the administrator and get the actual web server process running, have some access to some of the config files and sudo ability to restart the web server, but so far no access to view the log files (which is a pain).
I can run a simple web page on the server, and it indicates that Mono module is installed (Mono Version: 2.0.50727.42; ASP.NET Version: 2.0.50727.42). The installation for bugtracker.net is basically to run
where BTNET = name of instance and CD = current directory
C:windowsSystem32inetsrvappcmd.exe add app
/site.name: "Web Name" /path:/%BTNET% /physicalPath:"%CD%www"
What's the equivalent to adding an application like this under Apache/mono? Specifying the physical path, etc.? Any suggestions on how to install this application? Because it is a third-party app with a number of custom configurations done on it, my preference is just to copy the application as is over to the new Linux server, but that's not working as it's not installed. There are no installation functions within this app for installing on anything other than Windows IIS.
I've gone through a number of examples and documentation and not found anything that provides this information. Thanks in advance for any assistance.
The first thing to do would be to quickly test if your application works at least basically under mono.
I guess your Bugtracker app is provided as an archive (.zip or other)?
Unpack it on your Linux box in any location, then 'cd' to the root directory of this app and start the Mono light appserver:
xsp4 --port 8080
Then you should see if something happens.
Later, you should follow this official tutorial to configure Apache and define your app as a Mono/Asp.Net application
链接地址: http://www.djcxy.com/p/90058.html