What is 403 Forbidden, and How to Fix the Error?

logo.png

:siberataycovid:


What is 403 Forbidden, and How to Fix the Error?
403 Forbidden error" is the name of the error that prevents access to a website. This error is actually an HTTP status code. If you encounter this error code, it means you are trying to access a site for which you do not have permission or has been restricted. It can also appear as "HTTP Error 403 - Forbidden."


If you receive the error message "Forbidden - You don’t have permission to access this resource" when trying to access a folder on your server, you can learn how to remove this error and view and list files from here.

The reason you get a "403 Forbidden error" when opening a URL address is that there is no permission for viewing for URL security. If you want to view and list files within a folder on your server for any reason, you can achieve this with a simple .htaccess code.
35k85j7.jpg

Forbidden Error 403

Your first step is to create a new .htaccess file in the folder where you want to view and list files on your server. Inside the .htaccess file, write "Options +Indexes" without quotation marks and save it. This way, you will grant the folder permission to open and list all the files within it. You can download the ready-made .htaccess file from here.


The file you are about to download is compressed in RAR format. Open the RAR file, and simply upload the .htaccess file found inside the folder to the directory where you want to view the files.


ovprr20.jpg

You'll See the Folder on the Server in the Format "Index of /"

Many people confuse this with the .htaccess file located in the main directory, especially if you are using WordPress or another ready-made site software. However, no, you should only upload the .htaccess file to the folder in which you want to view the contents. It has no connection with the .htaccess file in the root directory.


If you want to apply this to multiple folders, you need to upload one .htaccess file separately into each folder. By uploading .htaccess to these folders, you will be able to open and list their contents.


:siberatay_em2:


Source : https://www.turkhackteam.org/konula...e-hatasini-kaldirma-yontemi-nasildir.2045017/



 
Üst

Turkhackteam.org internet sitesi 5651 sayılı kanun’un 2. maddesinin 1. fıkrasının m) bendi ile aynı kanunun 5. maddesi kapsamında "Yer Sağlayıcı" konumundadır. İçerikler ön onay olmaksızın tamamen kullanıcılar tarafından oluşturulmaktadır. Turkhackteam.org; Yer sağlayıcı olarak, kullanıcılar tarafından oluşturulan içeriği ya da hukuka aykırı paylaşımı kontrol etmekle ya da araştırmakla yükümlü değildir. Türkhackteam saldırı timleri Türk sitelerine hiçbir zararlı faaliyette bulunmaz. Türkhackteam üyelerinin yaptığı bireysel hack faaliyetlerinden Türkhackteam sorumlu değildir. Sitelerinize Türkhackteam ismi kullanılarak hack faaliyetinde bulunulursa, site-sunucu erişim loglarından bu faaliyeti gerçekleştiren ip adresini tespit edip diğer kanıtlarla birlikte savcılığa suç duyurusunda bulununuz.