开发者

Can ASP.NET module be uploaded on PHP domain?

I have a website which is in开发者_如何学Go PHP. Now, I am trying to publish a separate admin panel (which is in ASP.NET) on the same server but in different virtual directory.

Can this work?


If your web server is Windows running IIS, then yes, you can have ASP.NET and PHP co-existing on the same server.

You will have problems if you intend to share anything between them -- eg cookies, and session data; you'll have to effectively keep them separate and provide separate logins, etc for them.

On the other hand, if your server isn't Windows, or isn't running IIS - say if you're running a Linux server with Apache - then you won't be able to install ASP.NET, since it is tied to that platform.

[EDIT] This is a discussion on the official Microsoft IIS forum, where the same question is asked, and the positive answer is given: http://forums.iis.net/t/1154462.aspx

Also, this might help: http://www.joshholmes.com/blog/2010/11/11/asp-net-and-php-on-iis-together/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜