dedecms会员空间伪静态

  • A+
所属分类:仿站

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>


avatar

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: