永久黄网站色视频免费直播,yy6080三理论日本中文,亚洲无码免费在线观看视频,欧美日韩精品一区二区在线播放

無標題文檔
wdCP系統(tǒng) (介紹,功能特性,運行環(huán)境,安裝說明,演示,常見問題,使用教程) wdCDN系統(tǒng) (介紹,功能特性,運行環(huán)境,安裝說明,演示,常見問題,使用手冊)
wdOS系統(tǒng) (介紹,功能特性,運行環(huán)境,安裝說明,演示,常見問題,使用教程) wdDNS系統(tǒng) (介紹,功能特性,運行環(huán)境,安裝說明,演示,常見問題,使用手冊)
注冊 發(fā)貼 提問 回復-必看必看 wddns免費智能 DNS 開通 本地或虛擬機使 用wdcp 一鍵包在mysql編 譯時"卡住"
AI導航網AI應用網站大全 wdcp官方技術支持/服務 阿里云8折優(yōu)惠券 無敵云 騰訊云優(yōu)惠中,現(xiàn)注冊更有260代金額券贈送
返回列表 發(fā)帖
提問三步曲: 提問先看教程/FAQ索引(wdcp,wdcp_v3,一鍵包)及搜索,會讓你更快解決問題
1 提供詳細,如系統(tǒng)版本,wdcp版本,軟件版本等及錯誤的詳細信息,貼上論壇或截圖發(fā)論壇
2 做過哪些操作或改動設置等

溫馨提示:信息不詳,很可能會沒人理你!論壇有教程說明的,也可能沒人理!因為,你懂的

[求助] 求個Nginx下的偽靜態(tài)規(guī)則

我把Apache htaccess 轉換Nginx 偽靜態(tài)規(guī)則后導致Nginx服務不能啟動
原規(guī)則:
  1. RewriteRule ^(.*)/uid-([a-z|0-9]+)\.html\?*(.*)$ $1/index\.php\?$2\.html
  2. RewriteRule ^(.*)index.html\?*(.*)$ $1/index\.php
  3. RewriteRule ^(.*)login.html\?*(.*)$ $1/login\.php
  4. RewriteRule ^(.*)reg.html\?*(.*)$ $1/reg\.php
  5. RewriteRule ^(.*)uid-([a-z|0-9]+)\.html\?*(.*)$ $1/index\.php\?$2\.html
  6. RewriteRule ^(.*)/([a-z]+)-([0-9]+)-([a-z|0-9]*)-([a-z|0-9]+)\.html\?*(.*)$ $1/$2\.php\?$3-$4-$5\.html
  7. RewriteRule ^(.*)/([a-z]+)-([0-9]+)-([0-9]*)-([a-z|0-9]*)-([a-z|0-9]+)\.html\?*(.*)$ $1/$2\.php\?$3-$4-$5-$6\.html
  8. RewriteRule ^(.*)news/([0-9]+)-([a-z|0-9]*)-([a-z|0-9]+)\.html\?*(.*)$ $1/news/show_news\.php\?$2-$3-$4\.html
  9. RewriteRule ^(.*)notice/([0-9]+)-([a-z|0-9]*)-([a-z|0-9]+)\.html\?*(.*)$ $1/notice/show_notice\.php\?$2-$3-$4\.html
  10. RewriteRule ^(.*)gl/([0-9]+)-([a-z|0-9]*)-([a-z|0-9]+)\.html\?*(.*)$ $1/gl/show_gl\.php\?$2-$3-$4\.html
  11. RewriteRule ^(.*)game/([0-9]+)-([a-z|0-9]*)-([a-z|0-9]+)\.html\?*(.*)$ $1/game/show_game\.php\?$2-$3-$4\.html
  12. RewriteRule ^(.*)company/([0-9]+)-([a-z|0-9]*)-([a-z|0-9]+)\.html\?*(.*)$ $1/company/show_company\.php\?$2-$3-$4\.html
  13. RewriteRule ^(.*)cdkey/([0-9]+)-([a-z|0-9]*)-([a-z|0-9]+)\.html\?*(.*)$ $1/cdkey/show_cdkey\.php\?$2-$3-$4\.html
  14. RewriteRule ^(.*)gamepic/([0-9]+)-([a-z|0-9]*)-([a-z|0-9]+)\.html\?*(.*)$ $1/gamepic/show_gamepic\.php\?$2-$3-$4\.html
  15. RewriteRule ^(.*)media/([0-9]+)-([a-z|0-9]*)-([a-z|0-9]+)\.html\?*(.*)$ $1/media/show_media\.php\?$2-$3-$4\.html
  16. RewriteRule ^(.*)cdkey/([0-9]+)-([0-9]*)-([a-z|0-9]*)-([a-z|0-9]+)\.html\?*(.*)$ $1/cdkey/show_cdkey\.php\?$2-$3-$4-$5\.html
復制代碼

轉換后的規(guī)則:
  1. if ($rule_0 = ""){rewrite ^/(.*)/uid-([a-z|0-9]+).html?*(.*)$ /$1/index.php?$2.html;}
  2. if ($rule_1 = ""){rewrite ^/(.*)index.html?*(.*)$ /$1/index.php;}
  3. if ($rule_2 = ""){rewrite ^/(.*)login.html?*(.*)$ /$1/login.php;}
  4. if ($rule_3 = ""){rewrite ^/(.*)reg.html?*(.*)$ /$1/reg.php;}
  5. if ($rule_4 = ""){rewrite ^/(.*)uid-([a-z|0-9]+).html?*(.*)$ /$1/index.php?$2.html;}
  6. if ($rule_5 = ""){rewrite ^/(.*)/([a-z]+)-([0-9]+)-([a-z|0-9]*)-([a-z|0-9]+).html?*(.*)$ /$1/$2.php?$3-$4-$5.html;}
  7. if ($rule_6 = ""){rewrite ^/(.*)/([a-z]+)-([0-9]+)-([0-9]*)-([a-z|0-9]*)-([a-z|0-9]+).html?*(.*)$ /$1/$2.php?$3-$4-$5-$6.html;}
  8. if ($rule_7 = ""){rewrite ^/(.*)news/([0-9]+)-([a-z|0-9]*)-([a-z|0-9]+).html?*(.*)$ /$1/news/show_news.php?$2-$3-$4.html;}
  9. if ($rule_8 = ""){rewrite ^/(.*)notice/([0-9]+)-([a-z|0-9]*)-([a-z|0-9]+).html?*(.*)$ /$1/notice/show_notice.php?$2-$3-$4.html;}
  10. if ($rule_9 = ""){rewrite ^/(.*)gl/([0-9]+)-([a-z|0-9]*)-([a-z|0-9]+).html?*(.*)$ /$1/gl/show_gl.php?$2-$3-$4.html;}
  11. if ($rule_10 = ""){rewrite ^/(.*)game/([0-9]+)-([a-z|0-9]*)-([a-z|0-9]+).html?*(.*)$ /$1/game/show_game.php?$2-$3-$4.html;}
  12. if ($rule_11 = ""){rewrite ^/(.*)company/([0-9]+)-([a-z|0-9]*)-([a-z|0-9]+).html?*(.*)$ /$1/company/show_company.php?$2-$3-$4.html;}
  13. if ($rule_12 = ""){rewrite ^/(.*)cdkey/([0-9]+)-([a-z|0-9]*)-([a-z|0-9]+).html?*(.*)$ /$1/cdkey/show_cdkey.php?$2-$3-$4.html;}
  14. if ($rule_13 = ""){rewrite ^/(.*)gamepic/([0-9]+)-([a-z|0-9]*)-([a-z|0-9]+).html?*(.*)$ /$1/gamepic/show_gamepic.php?$2-$3-$4.html;}
  15. if ($rule_14 = ""){rewrite ^/(.*)media/([0-9]+)-([a-z|0-9]*)-([a-z|0-9]+).html?*(.*)$ /$1/media/show_media.php?$2-$3-$4.html;}
  16. if ($rule_15 = ""){rewrite ^/(.*)cdkey/([0-9]+)-([0-9]*)-([a-z|0-9]*)-([a-z|0-9]+).html?*(.*)$ /$1/cdkey/show_cdkey.php?$2-$3-$4-$5.html;}
復制代碼

搞了半天也搞不明白希望有能力的朋友幫助一下謝謝
http://521mp3.net

返回列表