Forum Discussion

JDamianB's avatar
JDamianB
Icon for Altostratus rankAltostratus
Jun 01, 2023

Detecting /# in an URL

Hi

I created an iRule to permit/deny the access to the URL /#/admin according to the client address.

My problem is neither [HTTP::uri] nor [HTTP::path] contain  #/admin

I observed navigators and curl "removes" the # and its trailing part (#/admin) from the GET

GET / HTTP1.1

But, on the other hand, the page retrieved from / is different to the one from /#/admin, then, somehow #/admin reaches the server and shows different HTML, doesn't it?

I'm confused.

How to make the iRule detect /#/admin?

 

No RepliesBe the first to reply