开发者

exclude the folders - url rewrite in htaccess

rewriteCond %{REQUEST_URI} ^(ajax|css|functions|image_viewer|images|img|include|fancybox|jquery|jscript|json)$ - [L]
RewriteRule ^(.[^/])/(.[^/])/(.+[^/]) ?program=$1&usertype=$2&username=$3 [NC]

could 开发者_高级运维you please help me find what is wrong in this.. ? I need to exclude some folders from url rewriting.

i tried with the solution given here.. but still i am getting some errors..

http://www.idxsync.com/sbaor/Search/Agent/zz

please help me


Please try to have the following config:

RewriteCond %{REQUEST_URI} !^/(?:ajax|css|functions|image_viewer|images|img|include|fancybox|jquery|jscript|json) [NC]
RewriteRule ^([^/]+)/([^/]+)/([^/]+)$ ?program=$1&usertype=$2&username=$3 [NC,L]
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜