日本熟妇hdsex视频,伊人久久大香线蕉av网,av无码不卡在线观看免费,66lu国产在线观看

免費(fèi)發(fā)布網(wǎng)絡(luò)營(yíng)銷推廣信息 推廣 熱搜: 新紀(jì)元期貨  HFRR  科技信息數(shù)碼  儀器 

wdcp設(shè)置destoon二級(jí)域名和偽靜態(tài)的方法

   日期:2019-08-28     來(lái)源:destoon官網(wǎng)    瀏覽:410    評(píng)論:0     買帖  | 修改  | 投訴  | 刷新
 1、登錄wdcp后臺(tái)-系統(tǒng)管理-文件管理-apache(這里演示的是apache的環(huán)境,nginx的類似)如圖:

2、點(diǎn)擊創(chuàng)建文件-輸入文件名-確定如圖:

 

3、編輯剛創(chuàng)建的文件-輸入以下內(nèi)容(輸入內(nèi)容紅色框處修改為自己的目錄或者域名信息),然后保存如圖:

  1. 3-1、要么新建一個(gè)
  1.  
  1. <VirtualHost *:80>
  2.  documentRoot /home/wwwroot/網(wǎng)站目錄名/public_html/company
  3.  ServerName www.網(wǎng)站域名
  4.  ServerAlias *.網(wǎng)站域名
  5.  <IfModule mod_rewrite.c>
  6.      RewriteEngine On
  7.      Errordocument 404 /404.php
  8.      RewriteRule ^(.*)\.(asp|aspx|asa|asax|dll|jsp|cgi|fcgi|pl)(.*)$ /404.php
  9.      RewriteRule ^(.*)/([a-z]+)/(.*)\.shtml$ $1/$2/index.php?rewrite=$3
  10.  </IfModule>
  11.  php_admin_value open_basedir /home/wwwroot/網(wǎng)站目錄名:/tmp
  12.  </VirtualHost>
  13.  <Directory /home/wwwroot/網(wǎng)站目錄名>
  14.      Options FollowSymlinks
  15.      AllowOverride All
  16.      Order allow,deny
  17.      Allow from all
  18.  </Directory>
  19.  
  20.  
  1. 3-2、要么直接改原有的
  1. <VirtualHost *:80>
  2. documentRoot /home/wwwroot/網(wǎng)站目錄名/public_html
  3. ServerName 網(wǎng)站域名
  4. ServerAlias www.網(wǎng)站域名
  5. Errordocument 400 /errpage/400.html
  6. Errordocument 403 /errpage/403.html
  7. Errordocument 404 /errpage/404.html
  8. php_admin_value open_basedir /www/web/minzuqiye:/tmp
  9. <IfModule mod_deflate.c>
  10. DeflateCompressionLevel 7
  11. AddOutputFilterByType DEFLATE text/html text/plain text/xml application/x-httpd-php
  12. AddOutputFilter DEFLATE css js html htm gif jpg png bmp php
  13. </IfModule>
  14. </VirtualHost>
  15.  
  16. <VirtualHost *:80>
  17.     documentRoot /home/wwwroot/網(wǎng)站目錄名/public_html/company/
  18.     ServerName www.網(wǎng)站域名
  19.     ServerAlias *.網(wǎng)站域名
  20.     RewriteEngine On
  21.     Errordocument 404 /404.php
  22.     RewriteRule ^(.*)\.(asp|aspx|asa|asax|dll|jsp|cgi|fcgi|pl)(.*)$ /404.php
  23.     RewriteRule ^(.*)/([a-z]+)/(.*)\.shtml$ $1/$2/index.php?rewrite=$3
  24. </VirtualHost>
  25.  
  26. <Directory /home/wwwroot/網(wǎng)站目錄名>
  27.     Options FollowSymlinks
  28.     AllowOverride All
  29.     Order allow,deny
  30.     Allow from all
  31. </Directory>    
  32.  
  33.  

  1. 4、如果WAP綁定了2級(jí)域名如(m.dtmuban.com)切環(huán)境為nginx,apache雙環(huán)境的服務(wù)器,主環(huán)境是 apache
  1. nginx規(guī)則里面的 m.dtmuban.com.conf(手機(jī)版規(guī)則改成如下,以為強(qiáng)制轉(zhuǎn)移到apache規(guī)則
  1. server {
  2.         listen       80;
  3.         root /home/wwwroot/網(wǎng)站目錄/public_html/mobile;
  4.         server_name m.dtmuban.com;
  5.         index  index.html index.php index.htm;
  6.         error_page  400 /errpage/400.html;
  7.         error_page  403 /errpage/403.html;
  8.         error_page  404 /errpage/404.html;
  9.         error_page  405 /errpage/405.html;
  10.         error_page  503 /errpage/503.html;
  11.         location ~ \.php$ {
  12.                 proxy_pass https://127.0.0.1:88;
  13.                 include naproxy.conf;
  14.         }
  15.         location ~ /\.ht {
  16.                 deny  all;
  17.         }
  18.         location / {
  19.                 try_files $uri @apache;
  20.         }
  21.         location @apache {
  22.                  internal;
  23.                  proxy_pass https://127.0.0.1:88;
  24.                  include naproxy.conf;
  25.         }
  26. } 

 

5、最后系統(tǒng)管理-服務(wù)重啟-web重啟,到這里就完成了,destoon網(wǎng)站的設(shè)置就不說(shuō)了,自己按要求設(shè)置好就可以了

 
打賞
 
更多>同類資訊
0相關(guān)評(píng)論

推薦圖文
推薦資訊
點(diǎn)擊排行
網(wǎng)站首頁(yè)  |  關(guān)于我們  |  聯(lián)系方式  |  使用協(xié)議  |  版權(quán)隱私  |  網(wǎng)站地圖  |  排名推廣  |  廣告服務(wù)  |  積分換禮  |  網(wǎng)站留言  |  RSS訂閱  |  違規(guī)舉報(bào)
 
展開(kāi)