Тёмный

Web Server: Enable Directory Listing / Directory Browsing with .htaccess & create files with no name 

TanUv90
Подписаться 6 тыс.
Просмотров 100 тыс.
50% 1

Web Servers hide the contents of folders by default. If there’s no index.html or index.php file, it will show a "403 Forbidden" error. That means that the folder exists, but you don’t have access to it. Different from a "404 Not Found" error, meaning no such folder exists.
If you want to see the files inside all folders, you need to put this .htaccess file in the directory you want to enable
Download htaccess zip www.mediafire.c...
UnZip it and it should work. (This is if you’re having trouble creating files with no name, only an extension)
➤Create .htaccess file
-Open notepad (or other text editor)
-Save a blank file called ".htaccess" (no filename just an extension)
-Make sure you change the "Save as Type" dropdown from "Text Document *.txt" to "All files"
-Use ftp software to copy the .htaccess file to your web server
-You might need to "Show hidden files" in order to see it
➤Configuring htaccess
➨"Options +Indexes"
-Adding this enables the list of files in the folder
-Capitalization doesn’t matter
-You can comment out lines with a hashtag/number sign (#)
➨"IndexOptions FancyIndexing"
-This changes the display
➨"Options -Indexes"
-this hides the listings. Add a new .htaccess file in a subfolder to disable directory listing in that folder and keep it active in the containing folder
➨"DirectoryIndex 1.txt"
-This sets the default page to load instead of index.html or index.php (as long as 1.txt exists)
➨"IndexIgnore *.txt *.doc"
-This excludes any files with the extension txt & doc from the list
-They’re still accessible by direct URL, but just won’t show up if directory listing is enabled
More Detailed video • Video

Опубликовано:

 

27 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 45   
Далее
How to Disable Directory Browsing
5:41
Просмотров 31 тыс.
Help Me Celebrate! 😍🙏
00:35
Просмотров 17 млн
OpenAI’s New ChatGPT: 7 Incredible Capabilities!
6:27
Restricting Access to Directory Contents using Apache
21:29
Hacking Websites with SQL Injection - Computerphile
8:59
Read Local Directory and List Files in PHP
13:23
Просмотров 24 тыс.
.htaccess Tutorial - Directives You Need to Know - #71
39:25
How to Password Protect a Directory With .htaccess
9:38
Secret File Extensions in Windows
17:14
Просмотров 49 тыс.
How to share files over the internet step by step
11:34