我有以下Rewrite Rule设置:
RewriteRule ^db/(.*)$ http://127.0.0.1:5984/app/$1 [P]
在我的httpd.conf文件中,我有:
AllowEncodedSlashes NoDecode
我想在哪里提交这样的信息:
db/http%3A%2F%2Fgoogle.com%2Fwebfonts
所以 Apache 会将其重定向到
http://127.0.0.1:5984/app/http%3A%2F%2Fgoogle.com%2Fwebfonts
这里的问题是apache正在将%上面%25的url转换为:
http://127.0.0.1:5984/app/http%253A%252F%252Fgoogle.com%252Fwebfonts
我怎样才能避免这种情况并准确重定向我发送的内容。
先感谢您