开发者

Problem with ionic entry

开发者 https://www.devze.com 2023-01-28 11:43 出处:网络
When I redirect, it says Page not found. what开发者_如何转开发 is wrong with my ionic Entry ?? Plz help thnx

When I redirect, it says Page not found. what开发者_如何转开发 is wrong with my ionic Entry ?? Plz help thnx

code behind

Response.Redirect(my site's url + "editques/" + "QuesID/" + QuesID + "/" + PID + "/" +QuesTypeID);



ionic entry 

RewriteRule ^/myweb/edit/$ /myweb/Edit.aspx [I]
RewriteRule ^/myweb/edit/PID/([^/]*)$ /myweb/Edit.aspx?PID=$1 [I]
RewriteRule ^/myweb/edit/QuesID([^/]*)/([^/]*)/([^/]*)$ /myweb/Edit.aspx?QuesID=$1&PID=$2&QuesTypeID=$3 [I]

This ionic entry syntax always confuses me :(


I have no idea what Ionic is, and no way of knowing what a valid URI on your site is or is not, but I would guess you're missing a slash immediately after "QuesID" on the last line:

You have:

..../myweb/editques/QuesID([^/]*)/....

I think you want:

..../myweb/editques/QuesID/([^/]*)/....

As a regex expression (?) it certainly doesn't match your format in the redirect.

0

精彩评论

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