Hi guys,
I’m quite new to HAProxy and now playing around with the HAProxy package in a pfsense firewall. So to my config: I’m using PFSense 2.7.2 with HAProxy package 2.8.3-86e043a. I created a backend together with a frontend with the following config:
ACL:
1.)
Name: HostIsMobile
Expression: Host Starts With
CS: no
not: no
Value: mobile.myweb.de
2.)
Name: PathIsSummary
Expression: Path Ends With
CS: no
not: no
Value: summary
Actions:
1.)
Action: UseBackend
Parameters: HeadwindMDM (= Name of backend)
Condition: HostIsMobile !PathIsSummary
2.)
Action: http-request deny
Parameters: deny_status 404
Condition: HostMobile IsSummary
I try to restrict the access to a webserver running Headwind Mobile Device Management. In this test case, I want to restrict the summary site, which is reachable via the following link:
http://mobile.myweb.de/#/summary
This doesn’t work, the site is normally available. But if I change the # into something else, the 404 error message appears as expected. Is there a problem parsing the # in path names or did I miss anything?
Thanks so far!
Regards!