Forum

Restrict URL via AccessList question

Fred
11 February 2016, 21:49
Hi Hugo,

I have the following URL:
mydomain.co.uk/webmail
mydomain.co.uk/mypanel

I want to allow access to mydomain.co.uk/webmail to everyone (no problem there) but I want to restrict mydomain.co.uk/mypanel only to my IP.
I tried
AccessList = allow TrustedIP_1, allow TrustedIP_2, deny all
but as you know that stoped access toboth URL..

How can I achieve this?

Thank you
Fred
Hugo Leisink
11 February 2016, 23:29
The AccessList option can also be placed in a Directory{} section or a .hiawatha file.
Fred
12 February 2016, 13:30
Hi Hugo,

I forgot to mention that in this case, Hiawath is reverse proxy in front of Apache which is on another server.
So I will not be able to put the path to the mydomain.co.uk/webmail inside the directory
Hugo Leisink
12 February 2016, 15:32
In that case, you have to take of it at the Apache webserver.
This topic has been closed.