四虎影视在线影院在线观看,小s货再浪些再咬紧点h,国产精品水嫩水嫩,97精产国品一二三产区

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

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

[教程] 關(guān)于nginx+apache環(huán)境偽靜態(tài)規(guī)則是否有效的測試方法

看到有幾個同學(xué)在使用nginx+apache引擎的時候需要的偽靜態(tài)無法使用的問題,請同學(xué)們按照如下方式進(jìn)行測試,并把測試結(jié)果回復(fù)到本帖,以供我們?yōu)槟阍\斷:1.登錄wdcp控制面板新建一個測試站點;
2.在測試站點根目錄寫入如下index.php測試代碼頁面:
<code>
<?php
header("Content-type: text/html; charset=utf-8");
echo 'action:'.$_GET['action'].'<br>id:'.$_GET['id'];
?>

</code>
3.在測試站點根目錄寫入如下.htacccess文件:
<code>
RewriteEngine on
RewriteRule ([a-zA-Z]{1,})-([0-9]{1,}).html$ index.php?action=$1&id=$2

</code>

4.訪問如下url,查看頁面輸出結(jié)果:
test.example.com/test-2013.html

如果頁面能夠輸出如:
action:test
id:2013
則說明環(huán)境支持偽靜態(tài)。

這是我專門下載wdos 1.0 安裝的虛擬機測試的。
如下:
QQ截圖20131225183052.png

QQ截圖20131225183030.png


QQ截圖20131225183059.png


QQ截圖20131225183107.png


QQ截圖20131225183131.png


QQ截圖20131225183140.png

TOP

從以上圖片來看發(fā)現(xiàn)阿帕奇沒有起作用。
下面的圖片正面阿帕奇是運行的。

20131225183555.png

20131225183632.png


20131225183654.png

TOP

回復(fù) 3# crll

這說明你的偽靜態(tài)規(guī)則確實無效,請使用最新版本的lanmp一鍵安裝包重新安裝環(huán)境試試,https://github.com/wdlinux/lanmp#%E4%BD%BF%E7%94%A8%E8%BF%99%E9%87%8Cgithub%E6%8F%90%E4%BE%9B%E7%9A%84%E6%9C%80%E6%96%B0%E7%89%88%E6%9C%AC%E5%AE%89%E8%A3%85%E8%84%9A%E6%9C%AC

TOP

  1. [root@AY1312181404071177cdZ ~]# wget http://dl.wdlinux.cn:5180/lanmp_laster.tar.gz
  2. --2013-12-26 09:14:33--  http://dl.wdlinux.cn:5180/lanmp_laster.tar.gz
  3. Resolving dl.wdlinux.cn... 222.186.43.27
  4. Connecting to dl.wdlinux.cn|222.186.43.27|:5180... connected.
  5. HTTP request sent, awaiting response... 200 OK
  6. Length: 81325773 (78M) [application/x-gzip]
  7. Saving to: `lanmp_laster.tar.gz'

  8. 100%[======================================>] 81,325,773  1.66M/s   in 49s

  9. 2013-12-26 09:15:23 (1.58 MB/s) - `lanmp_laster.tar.gz' saved [81325773/81325773]

  10. [root@AY1312181404071177cdZ ~]# tar xf lanmp_laster.tar.gz
  11. [root@AY1312181404071177cdZ ~]# ls lanmp
  12. debian_patches_disable_SSLv2_for_openssl_1_0_0.patch
  13. eaccelerator-0.9.5.3.tar.bz2
  14. httpd-2.0.64.tar.gz
  15. httpd-2.2.24.tar.gz
  16. libiconv-1.14.tar.gz
  17. mod_rpaf-0.6.tar.gz
  18. mysql-5.1.69.tar.gz
  19. nginx-1.2.9.tar.gz
  20. pcre-8.10.tar.gz
  21. PDO_MYSQL-1.0.2.tgz
  22. php-5.2.17-fpm-0.5.14.diff.gz
  23. php-5.2.17.tar.gz
  24. php-5.3.27.tar.gz
  25. phpmyadmin.tar.gz
  26. pure-ftpd-1.0.36.tar.gz
  27. rpmforge-release-0.5.2-2.el5.rf.i386.rpm
  28. rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
  29. RPM-GPG-KEY.dag.txt
  30. wdcp_v2.5.tar.gz
  31. zend_32.tar.gz
  32. zend_64.tar.gz
  33. [root@AY1312181404071177cdZ ~]# curl https://raw.github.com/wdlinux/lanmp/master/utils/bootstrap|sh
  34.   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
  35.                                  Dload  Upload   Total   Spent    Left  Speed
  36. 100   728  100   728    0     0    618      0  0:00:01  0:00:01 --:--:--  710k
  37. Loaded plugins: fastestmirror
  38. Determining fastest mirrors
  39. * addons: mirrors.163.com
  40. * base: mirrors.163.com
  41. * extras: mirrors.163.com
  42. * updates: mirrors.163.com
  43. addons                                                   | 1.9 kB     00:00
  44. addons/primary_db                                        | 1.1 kB     00:00
  45. base                                                     | 1.1 kB     00:00
  46. base/primary                                             | 995 kB     00:01
  47. base                                                                  2789/2789
  48. extras                                                   | 2.1 kB     00:00
  49. extras/primary_db                                        | 164 kB     00:00
  50. updates                                                  | 1.9 kB     00:00
  51. updates/primary_db                                       | 184 kB     00:00
  52. Excluding Packages in global exclude list
  53. Finished
  54. Setting up Install Process
  55. No package git available.
  56. Nothing to do
  57. sh: line 22: git: command not found
  58. /bin/cp: cannot stat `./*': No such file or directory
  59. File `httpd-2.2.24.tar.gz' already there; not retrieving.

  60. File `nginx-1.2.9.tar.gz' already there; not retrieving.

  61. File `mysql-5.1.69.tar.gz' already there; not retrieving.

  62. File `php-5.3.27.tar.gz' already there; not retrieving.

  63. File `pure-ftpd-1.0.36.tar.gz' already there; not retrieving.

  64. if all packages downloaded,you can begin install now:
  65. type:    ./install.sh    to begin install.
  66. [root@AY1312181404071177cdZ ~]#
  67. [root@AY1312181404071177cdZ ~]#
  68. [root@AY1312181404071177cdZ ~]# ./install.sh
  69. Loaded plugins: fastestmirror
  70. Loading mirror speeds from cached hostfile
  71. * addons: mirrors.163.com
  72. * base: mirrors.163.com
  73. * extras: mirrors.163.com
  74. * updates: mirrors.163.com
  75. Excluding Packages in global exclude list
  76. Finished
  77. Setting up Install Process
  78. Resolving Dependencies
  79. There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
  80. The program yum-complete-transaction is found in the yum-utils package.
  81. --> Running transaction check
  82. ---> Package screen.i386 0:4.0.3-4.el5 set to be updated
  83. --> Processing Dependency: libutempter.so.0 for package: screen
  84. --> Running transaction check
  85. ---> Package libutempter.i386 0:1.1.4-4.el5 set to be updated
  86. --> Finished Dependency Resolution

  87. Dependencies Resolved

  88. ================================================================================
  89. Package              Arch          Version                 Repository     Size
  90. ================================================================================
  91. Installing:
  92. screen               i386          4.0.3-4.el5             base          559 k
  93. Installing for dependencies:
  94. libutempter          i386          1.1.4-4.el5             base           22 k

  95. Transaction Summary
  96. ================================================================================
  97. Install      2 Package(s)
  98. Update       0 Package(s)
  99. Remove       0 Package(s)

  100. Total download size: 580 k
  101. Downloading Packages:
  102. (1/2): libutempter-1.1.4-4.el5.i386.rpm                  |  22 kB     00:00
  103. (2/2): screen-4.0.3-4.el5.i386.rpm                       | 559 kB     00:01
  104. --------------------------------------------------------------------------------
  105. Total                                           259 kB/s | 580 kB     00:02
  106. Running rpm_check_debug
  107. Running Transaction Test
  108. Finished Transaction Test
  109. Transaction Test Succeeded
  110. Running Transaction
  111.   Installing     : libutempter                                              1/2
  112.   Installing     : screen                                                   2/2

  113. Installed:
  114.   screen.i386 0:4.0.3-4.el5

  115. Dependency Installed:
  116.   libutempter.i386 0:1.1.4-4.el5

  117. Complete!
復(fù)制代碼

TOP

回復(fù) 5# crll


   你的yum倉庫里沒有g(shù)it,看看yum倉庫是不是有問題呢。

TOP

應(yīng)該是".htaccess"。!不是".htacccess"。。因為這個折騰了半天都不行。。暈倒
0.0

TOP

本帖最后由 mjl840125 于 2014-3-15 18:03 編輯

1.jpg
2.jpg
3.jpg
4.jpg

TOP

看不懂啊。你們都是大神

TOP

那樣子啊,厲害
jin7.cn

TOP

學(xué)習(xí)一下!
仙人掌

TOP

支持的!WORDPRESS 直接就支持了。

TOP

我弄WP規(guī)則弄了好久才弄好

TOP

測試  盜鏈   http://www.hbike.cn
laicuxiao.com來促銷主機

TOP

一會成功    一會不成功    相當(dāng)?shù)挠魫?/td>
laicuxiao.com來促銷主機

TOP

返回列表