dedecms会员空间伪静态
apache服务器配置如下:
<ifModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_HOST} ^[a-z0-9\-]+\.baidu\.com$
RewriteCond %{HTTP_HOST} !^(www|bbs)\.baidu\.com$
RewriteRule ^/?$ /%{HTTP_HOST}
RewriteRule ^/([a-z0-9\-]+)\.baidu\.com/?$ /member/index.php\?uid=$1
</ifModule>
|