开发者

mod_rewrite failure

开发者 https://www.devze.com 2023-03-25 09:04 出处:网络
I\'ll preface this by saying I don\'t know very much about rewrite and in the past, I\'ve simply \"made it work\".

I'll preface this by saying I don't know very much about rewrite and in the past, I've simply "made it work".

Here is the code I am using and trying to make work:

RewriteRule ^messagecenter/read/([^/\.]+)/?$ dispatcher.php?category=messagecenter&module=read&action=index&messageid=$1 [L]

When using the direct url dispatcher.php?category=messagecenter&module=read&action=index&messageid=anynumber it pulls up the page successfully, but when trying to access it via messagecenter/read/开发者_高级运维anynumber/ it gives me a 404. I have similar rules in place that do work, but this one does not.

Any suggestions?

0

精彩评论

暂无评论...
验证码 换一张
取 消