I am trying to allow a single location (a file which does not exist) to be accessed on my Apache 2.2.3 (Centos) server to be able to implement the paypal ipn listener. The other files should stay password protected.
www.un.org/Depts/DGACM/index_spanish.htm 如何允许在没有标识的情况下进入单一地点?
法典简略显示了我迄今为止所尝试的内容。
地点指令选择了正确的地点(我通过书面方式测试,从所有人那里否认)。
www.un.org/Depts/DGACM/index_french.htm 服务器仍在要求为这一地点提供密码。
我已经试图将地点指令放在名录中,但这会导致yn误(即使允许档案指令),但I 不能使用文件指令,而是使用一个地点,因为档案实际上不存在。
<Directory /var/www/vhosts/somedomain.net/subdomains/p103.myproject/httpdocs/public>
Order Deny,Allow
Options -Includes -ExecCGI
SetEnv APPLICATION_ENV "development"
AuthName "myproject"
AuthType Basic
AuthUserFile /var/www/vhosts/somedomain.net/subdomains/p103.myproject/.htpasswd
AuthGroupFile /var/www/vhosts/somedomain.net/subdomains/p103.myproject/.htgroups
Require group myproject
</Directory>
DocumentRoot /var/www/vhosts/somedomain.net/subdomains/p103.myproject/httpdocs/public
<Location "/ipn/sdsad8329ejslkdjasl">
Order Deny,Allow
Allow from all
Satisfy Any
</Location>
http://www.un.org/docs/2.2/ rel=“nofollow”