在一个域中拥有PHP和Asp.net页面 [英] HOST PHP and Asp.net Page in one domain

查看:67
本文介绍了在一个域中拥有PHP和Asp.net页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个域名注册,我在其下构建asp.net网站,我想要一个页面被重定向,这是在php源代码,是否可以运行php和asp.net页面下相同的域名。



我希望这个php页面成为asp.net网站中众多虚拟目录之一。



Web服务或WCF是否有帮助。请建议。

I have a domain registered and under which i have build asp.net website under it , I want a page to be redirected which is to be in php source code , is it possible to run the php and asp.net page under same domain.

I want that php page to be one of the many virtual directories in the asp.net website.

Will Web services or WCF help in that . Please Suggest.

推荐答案

绝对可能。 PHP可以安装并绑定到几乎任何HTTP服务器。您可以配置具有某些名称(如* .PHP)的服务器端文件通过PHP处理传递。查找HTTP服务器(IIS或其他)安装文档。它不会干扰您的* .aspx文件或其他所有内容。



-SA
Absolutely possible. PHP can be installed and bound to almost any HTTP server. You can configure that server-side files with certain names like *.PHP are passed through PHP processing. Look for HTTP server (IIS or whatever) setup documentation. It won't interfere with your *.aspx file or everything else.

—SA


这篇关于在一个域中拥有PHP和Asp.net页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆