19 Star 35 Fork 6

飞翔de希望 / HiBlog

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
Clone or download
web.config 1.09 KB
Copy Edit Web IDE Raw Blame History
飞翔de希望 authored 2015-10-15 22:41 . 完成:兼容Windows
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="static_minify" enabled="true" stopProcessing="true">
<match url="^static/(?:js|css)/(.+\.[^.]+)" ignoreCase="false" />
<action type="Rewrite" url="/index.php?m=default&amp;c=minify%2fshow&amp;a=index&amp;g={R:1}" appendQueryString="true" />
</rule>
<rule name="yaf_index" enabled="true" stopProcessing="true">
<match url="^.+$" ignoreCase="true" />
<action type="Rewrite" url="/index.php?m=default&amp;c={R:0}&amp;a=index" />
<conditions>
<add input="{URL}" pattern="^/(?:crossdomain\.xml|favicon\.ico|xhprof_httml/.*|static/.*|robots\.txt|index\.php/.*)$" negate="true" />
</conditions>
<serverVariables>
</serverVariables>
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>

Comment ( 0 )

Sign in for post a comment

PHP
1
https://git.oschina.net/flyhope/HiBlog.git
git@git.oschina.net:flyhope/HiBlog.git
flyhope
HiBlog
HiBlog
master

Search