I have a virtual machine running a number of websites. All users have access these via the external IP address of the machine. I am running Debian Stable on this machine.
I can access the machine via
ssh and have organized it so I port forward my local
10080 port to
localhost:80 so I can connect my browser to localhost port
10080/phpmyadmin and gain access to phpmyadmin. My machine is on a
Trouble is, you can also access it via any of the external web sites - because Debian has placed it in the top level Apache config.
I would like to limit access to only connections via the
ssh port. But there doesn't appear to be the equivalent of a listen directive for a directory.
However there is Allow from IP_address. What IP address does apache think I connected on when I come over the