JAVA、PHP、前端、APP、网站开发 - 开发技术学习

开发技术学习 » 编程开发 » thinkphp iis web.config,thinkphp IIS下伪静态配置,thinkphp web.config配置

thinkphp iis web.config,thinkphp IIS下伪静态配置,thinkphp web.config配置

此文被围观5033日期: 2014-11-17 分类 : 编程开发  标签:  ·······

Thinkphp官方教程:

http://doc.thinkphp.cn/manual/hidden_index.html


需要完善一下:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
	<system.webServer>
		<rewrite>
			<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>
		</rewrite>
	</system.webServer>
</configuration>



thinkphp,web.config,thinkphp IIS配置,tp伪静态配置,thinkphp iis伪静态配置

站点声明:部分内容源自互联网,为传播信息之用,如有侵权,请联系我们删除。

© Copyright 2011-2024 www.kfju.com. All Rights Reserved.
超级字帖 版权所有。蜀ICP备12031064号