虫言虫语 虫言虫语

typecho为子目录绑定域名

in 默认分类read (9951) 文章转载请注明来源!

放在根目录下的htaccess文件

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^(www.)?acg.cx$
#把root改为要绑定的目录.
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/build/
RewriteRule ^(.*)$ build/$1 [L,QSA]
</IfModule>

放在目标文件夹下的htaccess文件

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /build/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

PS:本地测试的时候一定要记得把开发者工具里的禁用缓存勾上!!!!!!!

jrotty WeChat Pay

微信打赏

jrotty Alipay

支付宝打赏

文章二维码

扫描二维码,在手机上阅读!

发表新评论
已有 3251 条评论
  1. achieveah
    achieveah
    回复

    where to buy cialis in usa buy cialis euro cheapviagratablets.com
    how to buy viagra online uk buy cialis online in usa best place buy levitra
    viagra-cheap.org can buy cialis over counter usa safe place buy cialis online
    http://www.jcecable.com/bbs/home.php?mod=space&uid=539511
    http://www.qytjwl.com/home.php?mod=space&uid=307307
    http://damoitxueyuan.com/home.php?mod=space&uid=440898
    http://bbs.mcuzone.com/home.php?mod=space&uid=217882
    http://ht679.com/home.php?mod=space&uid=4311

  2. SeapokeSmele
    SeapokeSmele
    回复

    no deposit casino free slots casino play online gambling

  3. econcorenny
    econcorenny
    回复

    best online casinos vegas slots online online gambling slots for real money

  4. ThomasFaumn
    ThomasFaumn
    回复

    where to order viagra online cialis for peyronie buy cialis online cheap

  5. econcorenny
    econcorenny
    回复

    online slots free casino casino online slots slot games

  6. RafSeinaclecoca

    http://onlinecasinosgtx.com/ casino bonus codes http://onlinecasinosgtx.com/ - online casino bonus casino bonus codes

  7. SeapokeSmele
    SeapokeSmele
    回复

    best online casinos http://onlinecasinosgtx.com/ vegas slots online slots games free casino slots

  8. econcorenny
    econcorenny
    回复

    online casino http://onlinecasinosgtx.com/ - casino games slots online vegas casino slots online casinos

  9. Wicgreemi
    Wicgreemi
    回复

    buy red viagra cialis pills for sale buy viagra cheap online no prescription

  10. econcorenny
    econcorenny
    回复

    http://onlinecasinosgtx.com/ online slots free online slots play slots free casino

  11. MatExcupe
    MatExcupe
    回复

    Viagra Generico Alguien Lo Ha Probado http://abuycialisb.com - Cialis Lexin Cephalexin cialis tablets for sale Levitra Rezeptfrei Kaufen

博客已萌萌哒运行
© 2020 由 Typecho 强力驱动.Theme by Yodu
前篇 后篇
雷姆
拉姆