Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/neo4j/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
.htaccess 允许公众访问受保护的目录_.htaccess - Fatal编程技术网

.htaccess 允许公众访问受保护的目录

.htaccess 允许公众访问受保护的目录,.htaccess,.htaccess,我有以下.htaccess文件保护我的网站 # -FrontPage- <Limit GET POST> order deny,allow deny from all allow from all </Limit> <Limit PUT DELETE> order deny,allow deny from all </Limit> AuthUserFile /home/some_folder/public_html/project/_vti_p

我有以下.htaccess文件保护我的网站

# -FrontPage-

<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>

AuthUserFile /home/some_folder/public_html/project/_vti_pvt/service.pwd
AuthGroupFile /home/some_folder/public_html/project/_vti_pvt/service.grp
RewriteEngine on
RewriteCond $1 !^(index\.php|css|images|js|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
AuthName project
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
我有一个文件夹位于网站的顶层,与我希望公开访问的这个文件位于同一层。但是我不知道怎么做:我做的每件事,放一个新的.htaccess文件和allow all success any、environment vars等等,除了破坏网站之外没有任何效果


有谁能帮助我访问此文件夹及其内容吗?

旁注与您的问题无关:还有一个问题,您担心没有列举所有可能的方法。@UlrichSchwarz非常感谢可能的重复