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?
How to make the iRule detect /#/admin?
Solved! Go to Solution.
But it seems the Referer is empty.
I added these two lines to my iRule
set referer [HTTP::header Referer]
log "REFERER: $referer"
and nothing appears after REFERER: in the /var/log/ltm
P.D: the response from the server contains "Referrer-Policy: no-referrer"