开发者

htaccess fragment problem

开发者 https://www.devze.com 2023-03-22 13:51 出处:网络
I am using some dynamic fragment url encoding thus I have for example a url: localhost/#/home I wanted to get the htaccess to rewrite this to localhost/home however I am having trouble with thi开发者

I am using some dynamic fragment url encoding thus I have for example a url: localhost/#/home

I wanted to get the htaccess to rewrite this to localhost/home however I am having trouble with thi开发者_高级运维s.

Does anyone know how I can do this?


You can't. Fragments are handled client side. They are never sent to the server, so Apache never has access to it. The approach is broken.

0

精彩评论

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