I try to access a running Webcit (needed by Citadel mailserver) by Apache's ProxyPass directive. This should only be possible within a private network while using port 2000.
My ideas is to deny from all but allow only from 10.8 network (that's my VPN).
Listen 2000
<VirtualHost *:2000>
ProxyRequests On
ProxyVia On
ProxyPass / http://localhost:2000
ProxyPassReverse / http://localhost:2000
<Proxy *>
Order Deny,Allow
Deny from all
Allow from 10.8
</Proxy>
</VirtualHost>
The problem is, when Webcit is running at port 2000, it's always accessible by every public address on my server despite of these VirtualHost settings. But I can't run it at port 80, because Apache runs at port 80. What can I do and I wonder, why the Apache VirtualHost configuration is ignored at all in that case?