Rewrite URL using DSAPI

廉价感情. 提交于 2019-12-24 01:46:07

问题


I need to rewrite URL. i.e. when user send request for 'url1' we will do request to 'url2' ('url1' will not be changed in browser, users should not know anything about that). I've looked a bit around and did not find another solution but DSAPI filter. DSAPI can do what I need, however due to low experience I can't complete that task.

Can somebody suggest me what events should I look into? and what exactly should I do..

I was looking on those events: kFilterStartRequest, kFilterRawRequest or kFilterRewriteURL no success yet.


回答1:


I've just complete my solution based of DSAPI, please read here how to rewrite URL using DSAPI.



来源:https://stackoverflow.com/questions/15114195/rewrite-url-using-dsapi

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!