Website URL
probuildpcs.nl
(please specify the URL of the site on which you are experiencing the problem)
Error Message
403 forbidden Server or website configuration is blocking you from viewing this page
(please share the FULL error message you see, if applicable)
Other Information
i host on 12_4 and i cant access my website
(other information and details relevant to your question)
i still dont know what i should do now
i have been working on this error for like 4 hours and i just cant fix it its driving me crazy i have tried everything
KangJL
February 13, 2024, 10:19am
5
Do you have an index file?
The directory does not contain an index file
If you try to request a URL without a file name in the URL (e.g. http://example.com/
or http://example.com/blog/
), the server will look for a so-called index file.
An index file is a file with the name index.php
, index.html
, index.htm
or index2.html
in the folder you’re trying to access. Regarding index files, please note the following:
The server will look only for files in the specific directory being requested, not in subdirectories.
Our servers are cAsE sEnSiTiVe, so calling the file Index.php
or index.HTML
will not work.
If no index file is found, you will be redirected to a 403 Forbidden page.
There are a few different ways to fix this:
Upload an index file to the right location (recommended).
You can create a file with the name .htaccess
in the directory and add the line Options +Indexes
. This will cause the server to show a list of files and directories instead.
You can create a file with the name .htaccess
in the directory and add the line DirectoryIndex yourFile.html index.php index.html index.htm
, where yourFile.html
is the name of the file that should be loaded.
4 Likes
yes i have an index file in my htdocs map
1 Like
you can see index.php and indes2.html (this is my htdocs map)
KangJL
February 13, 2024, 12:12pm
9
I believe this should be the correct directory
Any index file there?
4 Likes
so there is also a htdocs file in there, but its empty and then i should put a index file there, but how do i put a index file there?
okay i added the file and it worked!! i can get on the site now. but i still cant acces the wordpress dashboard, when i do probuildpcs.nl/wp-admin/
KangJL
February 13, 2024, 12:55pm
13
Did you move everything from htdocs
to probuildpcs.nl/htdocs
?
6 Likes
no i dont know how to do that
i still cant access the wordpress dashboard, and when i look up my website it just gives me a white screen, which i think is better then just a 403 error
KangJL
February 13, 2024, 1:23pm
17
There is no index file. Please make sure it is present
3 Likes
There is, but on the second htdocs
folder inside your domain’s htdocs
folder, so now you need to move everything from this folder up a folder so that your website will show up instead of a blank page caused by the empty index from before.
8 Likes
KangJL
Split this topic
February 13, 2024, 5:43pm
20
A post was split to a new topic: Files Missing