ImageWheel script伪静态规则

apache 伪静态规则

1
2
3
4
5
6
7
RewriteEngine On
 
RewriteRule ^([a-zA-Z]+)\.(jpg|gif|png|wbmp)$ controller/Resizer.php?m=original&a=$1&e=$2 [L]
RewriteRule ^(icon|small|medium|square)\/([a-zA-Z]+)\.(jpg|gif|png|wbmp)$ controller/Resizer.php?m=$1&a=$2&e=$3 [L]
 
RewriteCond %{REQUEST_FILENAME} !-f
 RewriteRule (.*) application.php?request=$1 [L,QSA]

nginx 伪静态规则

1
2
3
4
5
6
7
8
rewrite ^/([a-zA-Z]+).(jpg|gif|png|wbmp)$ /controller/Resizer.php?m=original&a=$1&e=$2 last;
 rewrite ^/(icon|small|medium|square)/([a-zA-Z]+).(jpg|gif|png|wbmp)$ /controller/Resizer.php?m=$1&a=$2&e=$3 last;
 if (!-f $request_filename){
  set $rule_2 1$rule_2;
 }
 if ($rule_2 = "1"){
  rewrite /(.*) /application.php?request=$1 last;
 }


Comments : 3

  1. Scosseldcen

    journal JAMA Pediatrics, found that the measles vaccination rate among the exposed population where secondary cases occurred in California, Arizona and Illinois is between 50 and 86 percent, far below the 96 to 99 percent necessary to create a herd immunity effect. Appearing brightness inside bodyweight means a youngster are designed for those dispensers on top of a connect from fast spot switch. When I position my 3 methods together, I enjoy entering my keyword phrase into Google and see my page rise higher and higher to the first page. It will take a lesser amount of time period, and far cheaper bricksandmortar strength.It is agreed that "infrastructure development, trade and transportation, almost everything, Wholesale Jerseys China,Cheap Hockey Jerseys, will be enhanced by clean energy," said Washington political analysts David Richardson."With China accelerating development of manufacturing hubs in the western part of the country, the BRI has the potential to create an economic corridor and promote stability and energy security,Wholesale Football Jerseys, while opening up trade, said the Brusselsbased think tank Friends of Europe. You can place your own custom images, use custom fonts and add in other unusual business card details such as slogans or quotations. Flipstyle dispensers get efficiently partnered a good amount of dimensions using portability. It is what difference we have made to the lives of others that will determine the significance of the life we lead.""Nelson Mandela's legacy has created the opportunity for us to achieve a bright future," said Hatang. You are able to discover how many folks are inquiring for your keyword phrase by using the free Google website “adwords. Conversely, several dispensers may be become a member of if you happen to set that standalone areas for their individual budgets.
    Visit my sitehttp://www.wholesalecheapnflsportsjerseys.com/

  2. 菠萝

    时间过得真快,一晃快4年没更新了

  3. 佛山不锈钢管厂家

    来访啦!

发表留言

人生在世,错别字在所难免,无需纠正。