Can someone translate what my htaccess file is doing?

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

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

IndexIgnore - When you visit a server path without an index file (like an index.php) the server may instead show a listing of all the files in that directory. That line effectively makes it so that essentially every file is hidden from being listed. Here’s a good article about IndexIgnore

The stuff in <Limit> basically limits which HTTP verbs (GET, POST, DELETE, PUT) the server will accept, and how. To be honest, this looks like a fairly unusual (and maybe even unnecessary) config

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.