对于想了解在Windows和IIS上的PHP5和ZendMVC的读者,本文将提供新的信息,我们将详细介绍php在iis上部署,并且为您提供关于AppEngineSDKforWindows和Window
对于想了解在Windows和IIS上的PHP 5和Zend MVC的读者,本文将提供新的信息,我们将详细介绍php在iis上部署,并且为您提供关于AppEngine SDK for Windows和Windows上的Ubuntu上的Bash、ASP.NET MVC Urls和IIS集成Windows身份验证、asp.net-mvc – ASP MVC Preview 5和IIS 6 Windows身份验证、asp.net-mvc – Windows 8 VS2012 IISExpress Windows身份验证的有价值信息。
本文目录一览:- 在Windows和IIS上的PHP 5和Zend MVC(php在iis上部署)
- AppEngine SDK for Windows和Windows上的Ubuntu上的Bash
- ASP.NET MVC Urls和IIS集成Windows身份验证
- asp.net-mvc – ASP MVC Preview 5和IIS 6 Windows身份验证
- asp.net-mvc – Windows 8 VS2012 IISExpress Windows身份验证
在Windows和IIS上的PHP 5和Zend MVC(php在iis上部署)
在Windows上运行PHP 5 / Zend MVC生产应用程序是否有任何重大问题需要注意? 特定的应用程序是Magento,一个电子商务系统,客户真的不感兴趣在他们的数据中心有一个Linux机器。 有没有人有运气让PHP 5和Zend MVC在IIS上正常工作?
你如何以Windows编程方式resize和移动Windows API的窗口?
无法完成QT4中的基本任务
如何在Qt中的一个popup窗口小部件上创build光滑的圆angular
如何从IIS迁移到Azure
如何使用mt.exe将清单添加到可执行文件?
是的,它的工作。 微软和Zend一起努力让PHP在Linux上运行。 Zend甚至拥有Windows和iis的核心软件包(包括PHP,MysqL和一些控制面板)的认证版本。 另外,Zend Framework应该是真正的平台独立。
另一个选择是在Windows上使用Apache,但IIS对于静态页面查看速度更快,并且还有其他一些有趣的选项。 .htaccess文件不被支持,所以为了重写,你需要依赖于其他的IIS组件。
那么我得到IIS,Zend和PHP都很好地工作。
安装了ReWrite模块,接下来: 这篇文章 从这里得到了Zend重写规则,并在我的PHP.ini文件中保证了short_opentag = on
到现在为止还挺好
获取IIS ReWrite模块,这将使事情变得更容易一些。
http://www.iis.net/downloads/default.aspx?tabid=34&g=6&i=1691
我有我的Vista x64机器上运行的Zend,PHP,Apache和MysqL,但我会尝试运行在IIS而不是Apache。
我想这不会太困难
我们在使用IIS7(在ISAPI下)的Windows server 2008上运行Magento也取得了一些进展。 如果我们禁用URL重写,系统工作的很好,但是我们还没有能够取得Magento和任何重写系统(Helicon ISAPI Rewrite-Lite,Ape和Microsoft Rewrite modulee)的成功。
Magento不支持在Windows上 。 我确实安装了它,但是比linux更复杂,在与部署环境不同的环境中开发是没有意义的。 你的客户应该重新考虑。
AppEngine SDK for Windows和Windows上的Ubuntu上的Bash
我正在尝试在Windows上的Ubuntu的Bash上使用AppEngine SDK进行Go,但是我有一个错误。 这是我的代码。
的app.yaml
runtime: go api_version: go1 handlers: - url: /.* script: _go_app
main.go
package main import ( "net/http" "github.com/labstack/echo" "github.com/labstack/echo/engine/standard" ) func init() { e := echo.New() e.GET("/",func(c echo.Context) error { return c.String(http.StatusOK,"Hello,World!") }) s := standard.New("") s.SetHandler(e) http.Handle("/",s) }
这里是错误和命令。
如何正确地等待事件/过程完成不是父母?
如何打包一个Go程序,使其自给自足?
去HTTP服务器testingab vs wrk结果有很大的差别
以编程方式检测Windows 7上是否启用硬件虚拟化
如何在Linux上编译跨平台的Go语言项目?
surface@DESKTOP-U7N4QNQ:~/projects$ goapp serve INFO 2016-08-09 14:24:35,574 devappserver2.py:769] Skipping SDK update check. INFO 2016-08-09 14:24:35,665 api_server.py:205] Starting API server at: http://localhost:38070 INFO 2016-08-09 14:24:35,670 api_server.py:648] Applying all pending transactions and saving the datastore INFO 2016-08-09 14:24:35,671 api_server.py:651] Saving search indexes Traceback (most recent call last): File "/home/surface/dev/go_appengine/dev_appserver.py",line 89,in <module> _run_file(__file__,globals()) File "/home/surface/dev/go_appengine/dev_appserver.py",line 85,in _run_file execfile(_PATHS.script_file(script_name),globals_) File "/home/surface/dev/go_appengine/google/appengine/tools/devappserver2/devappserver2.py",line 1040,in <module> main() File "/home/surface/dev/go_appengine/google/appengine/tools/devappserver2/devappserver2.py",line 1033,in main dev_server.start(options) File "/home/surface/dev/go_appengine/google/appengine/tools/devappserver2/devappserver2.py",line 824,in start self._dispatcher.start(options.api_host,apis.port,request_data) File "/home/surface/dev/go_appengine/google/appengine/tools/devappserver2/dispatcher.py",line 194,in start _module.start() File "/home/surface/dev/go_appengine/google/appengine/tools/devappserver2/module.py",line 1180,in start self._watcher.start() File "/home/surface/dev/go_appengine/google/appengine/tools/devappserver2/inotify_file_watcher.py",line 220,in start self._add_watch_for_path(directory) File "/home/surface/dev/go_appengine/google/appengine/tools/devappserver2/inotify_file_watcher.py",line 205,in _add_watch_for_path raise error OSError: [Errno 22] EINVAL: '/home/surface/projects' error while running dev_appserver.py: exit status 1 surface@DESKTOP-U7N4QNQ:~/projects$
我没有任何想法来解决这个问题。 我认为这是一个SDK的问题。
在GO中找不到软件包“gopkg.in/validator.v2”错误
libgit2高山linux泊坞错误
我需要使用Nginx还是Apache来使用Lets Encrypt?
只接受来自Go的Localhost的HTTP连接?
如何在Golang中使用COM(组件对象模型)
我自己得到了答案。
这个问题发生在Windows上的Ubuntu的Bash上。
它不支持File Watcher。 (已经有人提出了一个问题https://github.com/Microsoft/BashOnWindows/issues/216 )
因此,我使用dev_appserver.py和--use_mtime_file_watcher=true选项。
这是我的完整命令,完美的作品。
$ dev_appserver.py --use_mtime_file_watcher=true /home/surface/projects/
谢谢。
ASP.NET MVC Urls和IIS集成Windows身份验证
如果我将整个站点设置为集成的Windows身份验证,这一切都有效,除了firefox在用户访问站点主页时提示用户输入两次用户名/密码(一次用于Windows身份验证,然后再用于表单身份验证),而IE仅提示表格认证.这很好,我知道这是Firefox的默认行为,但是为了不让用户高兴,我被要求将Windows身份验证要求限制为仅限于网站的/ report / *部分,因此只有在他们转到/ report /%中的任何页面.
在ASP.NET WebForms中这很容易,因为有一个physcial / report文件夹来放置身份验证配置,但在MVC中这个URL是虚拟的,所以我不能这样做.有谁知道这样做的好方法?我试图创建一个“网关”aspx页面,用户在重定向到相应的报告页面之前需要首先完成,虽然Firefox确实在正确的位置提示用户输入他们的Windows凭据,但它似乎没有保留将后续请求的详细信息发送到任何/ report /%页面.有任何想法吗?会非常感激!
解决方法
我最终做的是将我的Web应用程序拆分为两个项目.
第一个项目托管在IIS下的网站根目录中.这是运行表单身份验证.
第二个项目作为同一网站的虚拟目录托管.这是运行Windows身份验证.
唯一的权衡是,您最终可能会得到/ reports / reports /%的URL(或者您为虚拟目录命名的任何内容)
asp.net-mvc – ASP MVC Preview 5和IIS 6 Windows身份验证
我刚刚将它部署到运行在Server 2003 R2 SP2上的IIS6. Web应用程序配置了自己的池,并拥有自己的池用户帐户. Web应用程序的IIS目录安全性选项仅设置为“Windows Integrated Security”,web.config文件具有:
<authentication mode="Windows" />
从IIS6服务器本身的远程桌面会话,如果通过http://localhost/myapp访问,IE7浏览器窗口可以成功验证和导航Web应用程序.
但是,同样来自服务器,如果通过服务器的名称(即http://myserver/myapp)访问,则IE7会显示一个凭据对话框,在三次尝试输入正确的凭据后,最终会返回“HTTP错误401.1 – 未授权:由于凭证无效而拒绝访问”.
当工作站浏览到Web应用程序URL时(自然地使用服务器的名称而不是“localhost”),会出现同样的问题.
IIS6服务器是我们唯一的域的成员,并且没有启用防火墙.
有没有我无法正确配置的工作?
谢谢,
我已经尝试过Matt Ryan,Graphain和Mike Dimmick的建议,但没有成功.我刚刚构建了一个虚拟机测试实验室,其中包含Server 2003 DC和单独的服务器2003 IIS6服务器,我能够复制该问题.
我第一次尝试通过非本地主机URL(即http://iis/myapp)访问该站点时,在IIS6服务器的系统事件日志中看到一个条目. FQDN网址也失败了.
Source: Kerberos,Event ID: 4
The kerberos client received a KRB_AP_ERR_MODIFIED error from the server host/iis.test.local. The target name used was HTTP/iis.test.local. This indicates that the password used to encrypt the kerberos service ticket is different than that on the target server. Commonly,this is due to identically named machine accounts in the target realm (TEST.LOCAL),and the client realm.
解决方法
How To: Create a Service Account for an ASP.NET 2.0 Application
特别是“附加注意事项”部分,其中描述了“使用Windows支持工具中的setspn工具为域帐户创建服务主体名称(SPN)”:
setspn -A HTTP/myserver MYDOMAIN\MyPoolUser
setspn -A HTTP/myserver.fqdn.com MYDOMAIN\MyPoolUser
这解决了我在虚拟测试实验室和原始问题服务器上的问题.
本文还有一个重要的注意事项,即对自定义池用户使用Windows身份验证会限制仅由该池使用的关联DNS名称.也就是说,具有另一个身份的另一个池需要与不同的DNS名称相关联.
asp.net-mvc – Windows 8 VS2012 IISExpress Windows身份验证
> Windows 8(专业版)
> VS2012
> IISExpress
> ASP.Net MVC4项目
> Orchard CMS是项目(但我不认为这是相关的)
通过项目属性,我将Windows身份验证设置为已启用,并将匿名身份验证设置为已禁用.
在web.config我设置:
<authentication mode="Windows" />
但是,在运行该站点时,我不断提示输入凭据.输入Windows 8或本地帐户凭据似乎没有任何区别,我已将这些帐户设置为对该文件夹具有完全权限.
任何建议都感激不尽!
更新1:
正如Darin Dimitrov所建议的,我创建了一个空白的MVC项目并选择了Intranet模板.将匿名授权设置为禁用并启用Windows身份验证后,此测试项目完全按预期工作(输入时提示输入凭据可提供对站点的访问权限).我将相同的授权配置应用到我的Orchard项目web.config:
<authentication mode="Windows" /> <authorization> <deny users="?" /> </authorization>
但仍然没有快乐,我按照预期提示输入凭据,但我输入的内容似乎并未授权用户.我已经对下面的两个web.conf进行过贴牌,以防有人能指出我缺少的东西吗?
> Orchard Web.Config:http://pastie.org/private/8oe5jesvt0vmqgyn3w
>示例Web.Config:http://pastie.org/private/zgxyue03crzd6fb8umlidq
解决方法
还要确保您已阅读使用Intranet模板创建新MVC应用程序时为您生成的文本文件:
In order to use the Intranet template,you’ll need to enable Windows
authentication and disable Anonymous authentication.IIS 7 & IIS 8
- Open IIS Manager and navigate to your website.
- In Features View,double-click Authentication.
On the Authentication page,select Windows authentication. If Windows authentication is not an option,you’ll need to make sure
Windows authentication is installed on the server.To enable Windows authentication on Windows:
a) In Control Panel open “Programs and Features”.
b) Select “Turn Windows features on or off”.
c) Navigate to Internet information Services > World Wide Web Services > Security
and make sure the Windows authentication node is checked.To enable Windows authentication on Windows Server:
a) In Server Manager,select Web Server (IIS) and click Add Role Services
b) Navigate to Web Server > Security
and make sure the Windows authentication node is checked.In the Actions pane,click Enable to use Windows authentication.
- On the Authentication page,select Anonymous authentication.
- In the Actions pane,click disable to disable anonymous authentication.
IIS Express
- Click on your project in the Solution Explorer to select the project.
- If the Properties pane is not open,open it (F4).
- In the Properties pane for your project: a) Set “Anonymous Authentication” to “disabled”. b) Set “Windows Authentication” to “Enabled”.
关于在Windows和IIS上的PHP 5和Zend MVC和php在iis上部署的问题我们已经讲解完毕,感谢您的阅读,如果还想了解更多关于AppEngine SDK for Windows和Windows上的Ubuntu上的Bash、ASP.NET MVC Urls和IIS集成Windows身份验证、asp.net-mvc – ASP MVC Preview 5和IIS 6 Windows身份验证、asp.net-mvc – Windows 8 VS2012 IISExpress Windows身份验证等相关内容,可以在本站寻找。
本文标签: