记录一下代码:用.htaccess绑定域名到子目录
php_value default_charset utf-8
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^tieba.19k.club$
RewriteCond %{REQUEST_URI} !^/Tieba-Cloud-Sign-master/
RewriteRule ^(.*)$ /Tieba-Cloud-Sign-master/$1 [L]
RewriteCond %{HTTP_HOST} ^qq.19k.club$
RewriteCond %{REQUEST_URI} !^/QQ/
RewriteRule ^(.*)$ /QQ/$1 [L]
RewriteCond %{HTTP_HOST} ^caihong.19k.club$
RewriteCond %{REQUEST_URI} !^/caihong/
RewriteRule ^(.*)$ /caihong/$1 [L]
RewriteCond %{HTTP_HOST} ^kuaile.19k.club$
RewriteCond %{REQUEST_URI} !^/kuaile_v1.8.1/
RewriteRule ^(.*)$ /kuaile_v1.8.1/$1 [L]
</IfModule>
之前做了几个挂机的,现在觉得也挺无聊的,就打算全部删了,代码差不多这样子