hi all. how can i allow access (prior authorization) to some URL (web page) on my web server (www.server.cm ), for user behind my hotspot gateway.
for instance, if i need to allow access without authorization to theses 3 url
www.server.cm/go/test1.php
www.server.cm/go/test2.php
www.server.cm/go/test3.php
while denying access to any other web page on my web server prior authorization
how can i do without affecting hotspot feature ?
NB: login page is locate on web server
thanks for your help
fewi
October 21, 2009, 7:34pm
2
/ip hotspot walled-garden add dst-host=www.server.cm dst-port=80 path=:^/go/test[123]\.php$ action=allow
this will deny login page. my routeros is unable to redirect users to login page. when i launch a web page, i’m not able to see login page, i have a error message " BAD error… “”"
thanks again for your help
fewi
October 21, 2009, 7:51pm
4
What exact error message do you get? What is the actual URL of the login page on the remote server? How do you redirect to it?
hi , if need to use regular expression to match one link in HTTP-level wallen garden, which caractar can i use ?
for instance,
i need to match all the link beginning with “www.server.net/login.test/ ” how can i process ?
thank so much for your help
fewi
October 27, 2009, 3:08pm
6
Should be
/ip hotspot walled-garden add dst-host=www.server.net dst-port=80 path=:^/login\.test/.*$ action=allow