Forum Discussion
Brantly_Perry_1
Nov 12, 2008Nimbostratus
Thanks a lot for the input! I believe you have gotten me very close, however; it's not quite right. The uri rewrite is not changing, however when I replace HTTP::uri with bp it works fine. Here's what I have:
when HTTP_REQUEST {
switch [HTTP::path] {
/ { HTTP::path "/member" }
/tooljournals { HTTP::path "/tooljournals" }
/HTTP::uri { HTTP::uri "/member?cid=[HTTP::uri]" }
/eb-member-earAdmin { HTTP::respond 404 content "RESOURCE NOT FOUND" }
/admin { HTTP::respond 404 content "RESOURCE NOT FOUND" }
/adminTool { HTTP::respond 404 content "RESOURCE NOT FOUND" }
}
}
Appreciate your help.