Domain .rf.gd showing random placeholder instead of index.html

I only get a “403 Access Denied” error whenever I try to access a subdirectory folder via the browser.

I want those subdirectories to show up for the viewers as FTP file directories. This should naturally work without the need for an index.html in each directory.

~Mike

No, by default trying to access a directory with no index file will result in an access denied error- that’s to be expected. You can change that using .htaccess rules.

However, I would like to give the friendly reminder that using your web hosting account for file storage or to share downloadable files is against InfinityFree’s TOS. May I ask what you’re trying to accomplish? There may be a more efficient way of doing it.

InfinityFree and aeonfree are both built on the same provider and use the same backend, but they’re separately owned. The owner of InfinityFree can’t see any see or manage any accounts you have with aeonfree, and vice versa.

5 Likes

I just tried to open http://tauronr.great-site.net/pub/ again (the login form doesn’t seem to work anymore), but now it just shows an empty directory listing. Which means that the pub directory exists, but there are no files in them.

If you say the website worked fine on a previous account, I see no reason to doubt you. However, if you setup the same website on a new account but didn’t upload all the necessary files, then of course it will not work.

6 Likes

Thank you for this crucial information.

Do I understand you correctly that for the empty directory to show up as a FTP directory all I have to do is:

  1. Create a text file with the single line:
    Options +Indexes
  2. Rename that file to “.htaccess
  3. Upload the file to the directory

I want to place a single jpg image in the folder. When someone lands in the /pub and curiously clicks on the image, it will load in the browser and display a 404 meme :smiling_face_with_sunglasses:

This is just something I did in the past to troll my friends and now my goal is to re-host my old website I created for learning purposes a decade ago.

I am not planning on hosting a bunch of files here. I have a separate fileserver for that purpose :wink:

~Mike

I wasn’t able to reply earlier because apparently, there is this imo completely pointless restriction on the number of replies a “new user” may post within 21 hours.

Anyway. I already applied the aforementioned fix as suggested by @EdwardHamHam. The site works as expected now.

The login and redirection to the corresponding subdirectory is accomplished by a simple php script present inside my index.php. There are no additional files required for my website to work.

Also, the password worked and still works on all of my registered domains. You most likely just mistyped it :wink:

~Mike

P.S: I just figured that placing the .htaccess file with the single line “Options +Indexes" inside the root directory (rather than in every subdirectory) will cause all subdirectories to display the contents of the respective folder as a list of files - so long no index.html / .php is present in the directories.

It’s an anti-spam measure. It only applies to Trust Level 0 users, but simply being active for a day or two should bump you up to Trust Level 1, which removes this limit.

In the mean time, you can reduce the impact of the post limit by collecting your replies before posting. You just posted three consecutive replies in 30 minutes with no other posts in between. That could have been a single post.

4 Likes