一個(gè)泛濫域名偽靜態(tài)問題。
#會(huì)員管理頁(yè)面設(shè)置
RewriteCond %{HTTP_HOST} ^[a-z0-9\-_]+\.xx\.com$
RewriteCond %{HTTP_HOST} !^(qiye|bbs)\.xxx\.com$
RewriteRule ^/?$ /%{HTTP_HOST}
RewriteRule ^/user_([a-z0-9\-_]+)\.xxx\.com/?$ /index.php?c=show&id=$1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^company-([a-z0-9\-_]+)\.html$ index.php?s=hy&c=show&uid=$1 <---- 這條怎么都不能實(shí)現(xiàn) compan 內(nèi)容問題,訪問永遠(yuǎn)說找不到頁(yè)面!
求各位大神求教下,錢不多。求個(gè)舉手之勞
好像xunrui不是這么寫的,后臺(tái)可以生成的
兄弟你這是在根目錄.htaccess中設(shè)置的吧。
建議你在/config/rewrite.php中設(shè)置解析規(guī)則
案例:
建議采納
參考/config/rewrite.php的規(guī)則
/config/rewrite.php
搞定沒有