宝塔面板部署thinkcmf问题

时间:2020-06-18 20:12:15   收藏:0   阅读:143

部署基本流程

除了首页可以访问,其余页面无法访问

配置的是iis服务器,因为没有修改路由,导致其他页面访问失败

iis 配置,修改web_config/rewrite.config文件

<rules>
	<rule name="OrgPage" stopProcessing="true">
		<match url="^(.*)$" />
		<conditions logicalGrouping="MatchAll">
		<add input="{HTTP_HOST}" pattern="^(.*)$" />
		<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
		<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
		</conditions>
		<action type="Rewrite" url="index.php/{R:1}" />
	</rule>
</rules>

原文:https://www.cnblogs.com/qq917937712/p/13159344.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!