Rewrite AngularJS URLs
2 posts
• Page 1 of 1
Rewrite AngularJS URLs
Hi there!
I have some AngularJS URLs that looks like this:
www.mysite.com/myfolder/#!/myapp/ef098e ... c26c3f248e
How can I make that call a file like
www.mysite.com/myfolder/page.cfm?app=my ... c26c3f248e
Thanks a lot!
I have some AngularJS URLs that looks like this:
www.mysite.com/myfolder/#!/myapp/ef098e ... c26c3f248e
How can I make that call a file like
www.mysite.com/myfolder/page.cfm?app=my ... c26c3f248e
Thanks a lot!
Re: Rewrite AngularJS URLs
Hello,
You may try the following rule:
RewriteBase /
RewriteRule ^myfolder/#!/myapp/(.+)$ /myfolder/page.cfm?app=myapp&token=$1 [NC,L]
However, the part of the URL after # is not sent to IIS and therefore Ape cannot process it either.
You may try the following rule:
RewriteBase /
RewriteRule ^myfolder/#!/myapp/(.+)$ /myfolder/page.cfm?app=myapp&token=$1 [NC,L]
However, the part of the URL after # is not sent to IIS and therefore Ape cannot process it either.
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 21 guests