I am developing on my local PC but it's setup so that it is listening on external IP, so anyone can hit my apache is they know the port number.
I want to implement a quick solution to prevent other developers from accessing my development PC.
This is want to do: I want to require that a http request contains specific custom header and if it's not present then reject the request and ideally will also log this as error.
For example, I want to require http header x-developer with value of 'myname' it header x-developer is not present or value is not 'myname' then reject the request On the front-end I will use chrome extension that sets custom request header, called "Extra Headers"
How can I do this in Apache 2?
Are there any extra modules that required for this?