X
X
XenK2016-05-20 20:31:14
Apache HTTP Server
XenK, 2016-05-20 20:31:14

Bypass .htaccess?

The site has an upload folder, it stores text files. When you go to the address: "site.ru/upload", the following message appears:

Forbidden

You don't have permission to access /upload/ on this server.

Apache Server at site.ru Port 80

But for example, there is access to the site.ru/upload/text.txt file. Is it possible to access all such files?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
titronfan, 2016-05-20
@titronfan

It should be sort of like a setting in your Apache (you can just write it in the .htaccess file).
If I'm not mistaken like this:

<Directory /var/www/upload/>
Options +Indexes
</Directory>

X
xmoonlight, 2016-05-20
@xmoonlight

Viewing the PS index (search by URL), then download a couple of files and access to the files will be quickly closed.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question