本文介绍了试图主办阿帕奇单一个.NET Web应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的小组一直在使用BugTracker.NET(http://ifdefined.com/bugtrackernet.html)托管在Windows服务器上运行IIS。我们需要将其迁移到支持openSUSE上运行的Apache一个内部网站。

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.

我很遗憾没有在本机上的根。我已经能够用管理员的工作,并得到实际的Web服务器进程在运行,有一定的出入时的一些配置文件和sudo来重新启动Web服务器的能力,但至今没有进入查看日志文件(这是痛苦)。

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).

我可以在服务器上运行一个简单的网页,它表示单模块安装(单声道版本:2.0.50727.42; ASP.NET版本:2.0.50727.42)。对于bugtracker.net安装基本运行

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:\windows\System32\inetsrv\appcmd.exe add app
    /site.name: "Web Name" /path:/%BTNET% /physicalPath:"%CD%\www"

什么是相当于在Apache /单加入这样的应用程序?指定的物理路径,等等?关于如何安装这个应用程序有什么建议?因为它是一个数字上完成它的自定义配置的第三方应用程序,我的preference只是作为结束到新的Linux服务器应用程序复制,但它没有安装不工作。有此应用程序中没有安装功能安装在非Windows IIS的任何其他。

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.

我猜你的错误追踪系统的应用是作为一个存档文件(.zip或其他)?

I guess your Bugtracker app is provided as an archive (.zip or other)?

解压它放在你的Linux机器在任何位置,那么CD这一应用程序的根目录并启动单灯应用服务器:

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.

之后,你应该遵循配置Apache和您的应用定义为单/Asp.Net应用

Later, you should follow this official tutorial to configure Apache and define your app as a Mono/Asp.Net application

这篇关于试图主办阿帕奇单一个.NET Web应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-23 05:12