|
|
要把那个代码再复制一次,目录不变吗,还是有其它的办法让一个让绑多个域名
DirectoryIndex default.php index.htm index.php index.html default.htm default.html index.shtml default.shtml
RewriteEngine On
Options All -Indexes
php_value upload_max_filesize 20M
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www.)?lenfans.cn$
RewriteCond %{REQUEST_URI} !^/lenfans/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /lenfans/$1
RewriteCond %{HTTP_HOST} ^(www.)?lenfans.cn$
RewriteRule ^(/)?$ lenfans/index.php [L]
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www.)?86meishi.com$
RewriteCond %{REQUEST_URI} !^/meishi/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /meishi/$1
RewriteCond %{HTTP_HOST} ^(www.)?86meishi.com$
RewriteRule ^(/)?$ meishi/index.php [L]
ErrorDocument 401 /404.htm
ErrorDocument 403 /404.htm
ErrorDocument 404 /404.htm
ErrorDocument 500 /404.htm |
|