[英]how to deploy laravel with iis manager
how to run laravel with IIS manager?如何使用 IIS 管理器运行 laravel? I have followed the tutorial on google about this but I got something like this when I finished setting please help me
我已经按照谷歌上的教程进行了有关此操作,但是当我完成设置后我得到了类似的信息,请帮助我
my web.config我的 web.config
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Rule 1" stopProcessing="true">
<match url="^(.*)/$" ignoreCase="false" />
<action type="Redirect" redirectType="Permanent" url="/{R:1}" />
</rule>
<rule name="Rule 2" stopProcessing="true">
<match url="^" ignoreCase="false" />
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
</conditions>
<action type="Rewrite" url="public/index.php" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
解决我在添加并正确设置 Web 配置后忘记在 iis 管理器中添加 php 扩展名的问题,现在可以访问了,感谢 stackoverflow 的朋友
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.