Files .txt

Post Reply
terat
Jr. Bludit
Posts: 7
Joined: Thu Oct 10, 2019 8:36 am

How to prevent access to files .txt? Added different rules .htaccess does not help. I mean, the files can be accessed directly.

http://domain.com/bl-content/pages/sozd ... /index.txt

It would be desirable that at attempt to enter on this file the error 404 was given out.

Thanks!
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

Do you use the .htaccess that comes with Bludit? With this there is no access to the files index.txt.
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
terat
Jr. Bludit
Posts: 7
Joined: Thu Oct 10, 2019 8:36 am

Yes.
I tried different types of lock configurations - it doesn’t work out, on the side of the hosting provider everything is fine, because Other sites work well.
terat
Jr. Bludit
Posts: 7
Joined: Thu Oct 10, 2019 8:36 am

Talk about htaccess, such a question, how to remove the slash at the end of the url (I don’t know how to translate correctly - '/')?
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

terat wrote: Sat Oct 12, 2019 2:50 pm Yes.
I tried different types of lock configurations - it doesn’t work out, on the side of the hosting provider everything is fine, because Other sites work well.
Can you please give the address of the installation?
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
terat
Jr. Bludit
Posts: 7
Joined: Thu Oct 10, 2019 8:36 am

Please tell me which files start the process of creating a new page / category? I don't have access to httpd.cong, apache. Ways through .htaccess I do not know. But you can create a directory and create a file inside a folder with limited access, I'll try to add a couple of lines of php code, tell me only what files to look for?
Post Reply