<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer> <rewrite>
<rules>
<rule name=" Imported rules 1" stopProcessing="true">
<match url="^(.*).shtml$" />
<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 Pseudostatic More articles on custom suffixes
- thinkphp Pseudostatic (url rewrite )
1. Server on url_rewrite function ,linux Spatial php The virtual host just needs to be turned on apache Of mod_rewriet, If it is iis6.0 Just install ISAPI Rewrite modular ,apache Just turn on ...
- ( turn ) ThinkPHP How to use template custom label
This article mainly introduces ThinkPHP How to use template custom label , Friends in need can refer to Turn it around --http://www.jb51.net/article/51584.htm The use of template tags can make the website foreground development ...
- How to use Git.io To generate a short URL with a custom suffix
How to use Git.io To generate a short URL with a custom suffix git.io yes Github The official short website of , It's used to shorten Github The website of the project . effect :Git.io/wacsh Will jump to https://xhemj.git ...
- windows Start with a custom suffix file Unity application
ok , One Unity Application is not a common requirement .. Two steps 1. Associated registry 2. Pass the custom suffix file as a startup parameter to Unity Do the processing 1. Associated registry (.XXXX It's a custom suffix ) Windows Registr ...
- thinkphp Pseudostatic
URL Pseudo static is usually to satisfy better SEO effect ,ThinkPHP Support pseudo static URL Set up , Can be set by URL_HTML_SUFFIX Parameters are optional in URL Finally, add the static suffix you want , Without affecting the normal execution of the current operation . example ...
- ThinkPHP frame Customize Empty Methods to protect local information from being exposed !!!
In the use of ThinkPHP During framework development , At every Controller An empty controller should be set in the folder , To protect local information from being leaked (EmptyController.class.php) This method is very effective in hiding the system ...
- Thinkphp Custom routing for (route.php)
crap : because thinkphp The default route for will result in URL Very long , This will affect search engine optimization . So the custom route is derived , As far as possible will URL To shorten the . This is the default routing file : <?php return [ '__patter ...
- thinkphp How to implement pseudo static
thinkphp How to implement pseudo static ? Get rid of URL Medium index.php ThinkPHP As PHP frame , It's a single entrance , So its original URL It's not so friendly . but ThinkPHP Provides a variety of mechanisms ...
- solve Everything1.4 Version preview does not support custom suffixes
2017 year 6 month Everything Version upgraded to 1.4.x I think the main points are as follows Add preview Multiple search results Click the directory column to open the directory where the file is located ( Need to set up : routine -> result -> Double click the path column ...
Random recommendation
- MongoDB Learning notes ~Update Method to update collection properties
Back to directory In the face of MongoDB After packaging , about Update There is a phenomenon when updating the set properties in an object , It's disgusting , They were beautiful before they were updated Array, But after the update, the collection object becomes a key value pair , The key is the type name of the collection , The value is ...
- Use IPostBackEventHandler Give Way JavaScript“ call ” Return Events
In by ASP.NET The so-called foreground calls the background . The background calls the foreground HTTP—— Practice chapter ( Two ) Through self simulation HTML Tag events interact with the server , Talked about it. ASP.NET How is the server control of render become HTML What's going on in the future “ call ” Backstage method ...
- SmartDoc(YUIDoc) Note writing
It says JS Documentation and Demo Generation tool SmartDoc, This article begins with an introduction to the compilation of annotations .SmartDoc It uses YUIDoc The engine of , All annotation rules are the same , Let's start with a brief introduction YUIDoc Write notes for . Writing annotations is a ...
- easyfinding(codevs 3280)
3280 easyfinding The time limit : 1 s Space restriction : 128000 KB Question level : diamond Diamond Answer key Title Description Description Give me a M That's ok N Column ...
- [ Roof placement ] SPL Explain (4)--Criteria Operation
Concept In a previous article , Describes the entity Entity The operation of , Obviously , The operation of entity is not enough . Such as : We often get recordsets from the database and bind them to DataGrid On , Will carry on the batch according to the condition Update and De ...
- use echartsjs Achieve dynamic drawing of broken line 、 Columnar figures, etc , And realize the effect of multi graph linkage
echarts For big data processing, draw a line chart , The effect and speed of column chart and so on are very good . So let's talk about How to parse the encapsulated data list , Dynamic drawing , And the introduction of mouse linkage effect js file : <script type=&qu ...
- Simple summary ASCII Unicode UTF-8 The difference between
If you think the layout here is not good , Welcome to my blog Simple summary ASCII Unicode UTF-8 The difference between When making a form , In pursuit of better user interaction experience , There's always something suggestive , For example, to remind users of character restrictions . Because of English , Chinese characters are ...
- Analysis of pictures and texts APK The process of running a program
summary APK The process of running a program is different from FrameWork The underlying startup process , They are two things , This article will summarize in the form of pictures and texts APK The process of starting , It is mainly divided into the following parts [1] Basic concepts [2]APK The process 1 . New knowledge points [1] What is? ...
- [ Open source ] Quickly build a WebApi project
Project code :MasterChief.DotNet.ProjectTemplate.WebApi Sample code :https://github.com/YanZhiwei/MasterChief.Project ...
- loadrunner Under the putty and plink
loadrunner There is integration in plink and putty Of , No wonder it can be monitored by the monitor linux What about the load on the computer , You can use this command to access :C:\Program Files\Mercury\LoadRunne ...