configurationApache以允许访问VPN下的特定URL

在这种情况下,我想configurationApache服务器,以便某些URL可以在VPN下访问,其中一些应该可以使用/不使用VPN进行访问。

这是我的情况

没有VPN

  • 用户转到http://example.com/some/url – 应该被允许访问
  • 用户转到http://example.com/vpn/restricted/url – 不应该被允许访问

使用VPN

  • 用户转到http://example.com/some/url – 应该被允许访问
  • 用户转到http://example.com/vpn/restricted/url – 应该被允许访问

我有什么select?

编辑:

我没有关于如何configurationVPN的信息,我可以搞清楚,但我想知道我应该问我的人民networking的问题的细节。 任何帮助在这里将不胜感激。

至less你是简洁的。

看看mod_authz_host

Description: Controls which hosts can access an area of the server Syntax: Allow from all|host|env=[!]env-variable [host|env=[!]env-variable] ... Context: directory, .htaccess Override: Limit Status: Base Module: mod_authz_host Compatibility: Support for negating env=env-variable was added in 2.2.10