Answer the question
In order to leave comments, you need to log in
Why does the user not have permission to view certain pages on the site?
You need to download a pdf document. The link is public and is issued in the Yandex search engine. But, why if you remove the document itself in the link, then the access rights are limited?
Example:
www.inform.ru/.../documents/normative_acts.pdf - it is downloaded directly, and if you remove the file itself,
www.inform.ru/.../documents/ - then access is restricted with showing 403 "access denied" errors ".
Answer the question
In order to leave comments, you need to log in
Because in the server settings there Options -Indexes
is a ban on reading the contents of the folder. And there is no file in the folder from the directive list DirectoryIndex
.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question