【发布时间】:2015-05-27 05:31:57
【问题描述】:
我不确定为什么 mod_rewrite.c 没有正确定位链接
示例网址
http://developer.prodev/dev_www_trunk/justink/public_html/search/manufacturer/hewlett-packard
重写引擎
我已经在htaccess tester上测试了我的重写规则
但这不是相同的结果,我在我的 error_log.log 中得到重定向到 justink/search/manufacturer/... (public_html 不属于重写)。
# dev_www_trunk/justink/public_html/search/manufacturer/hewlett-packard
RewriteRule ^(dev_[^/]*)/justink/public_html/search/manufacturer/?(.*)$ /$1/justink/public_html/search/index.php?advanced=0&manufacturer_rewrite=$2%{QUERY_STRING} [L]
【问题讨论】:
标签: php regex apache mod-rewrite xampp