Error 403 Forbidden ...Kndly help admin or anyone

**My website URL is:**airlineology.rf.gd

**What I’m seeing is:**error 403 Forbidden

403 Forbidden

The website’s configuration prevents you from accessing this page

**I’m using this software:**built my site on php and using google chrome

Additional information:
i have uploaded my site since almost 3 days now but still see the error

Can you show us what’s written in your .htaccess file?

I just tried to open your actual website folder, and I didn’t get any errors:

http://airlineology.rf.gd/registration_tutorial/

If you want something to happen if people visit the domain without any path, you need to upload something directly to the htdocs folder. You can do this by uploading an index file with some content or a redirect, or by moving your website code from the subdirectory into the htdocs folder.

1 Like

this is what is written in my file

its not letting me reply to you by pasting the entire thing as it says i am a new user and only allowed to put 2 links but there are all list of errors in that file

@Admin yeah that page is working but if i am trying to open only airlineology.rf.gd it shows again error 403 forbidden and the website still doesnt opens for me…also coz the end user will only know my site as airlineology.rf.gd and i have put the entire website folder in my htdocs folder if can check.
kindly suffice

@Admin it works absolutely fine in my xammp localhost…fyi

That’s because there is still no website at http://airlineology.rf.gd, only at http://airlineology.rf.gd/registration_tutorial/.

So I stand by my previous post:

I’m happy to help you fix this issue. But it would help a lot if you could actually follow up on my suggestions.

1 Like

so if theres no webpage it will auto access the folder htdocs which cause 403?

If there is no index file in a folder, you will either see a list of files and folders present in the directory, or get a 403 error.

What would you like to see instead when people visit your domain? If you can tell us how you would like it to work, maybe we can help you setup your website in a way it works like that.

1 Like

@Admin there is an iindex.php page in my folders and even when you access http://airlineology.rf.gd/registration_tutorial/ which as you said has a website gives error 404. I would like my website to be accessed as http://airlineology.rf.gd which directly opens the index page.
Kindly help

also now i just put iindex.php file…i tries to access but again 404 error… Now there is just a single file in htocs still doesn’t opens up when trying the same http://airlineology.rf.gd

I just checked your website and http://airlineology.rf.gd/ is now opening the page I saw on http://airlineology.rf.gd/registration_tutorial/ before. Did you move the files from the subdirectory to the main htdocs folder? Because it looks like it, and it looks liked it worked.

1 Like

yes…i did but now it doesn’t goes forward… Technically now it should open the login page but it gives error can’t handle request… In all only the index page is opening now and nothing else.

That’s what I saw before too. As to why it would do that, I don’t know. It’s your code, I don’t know how it works.

2 Likes

Also, since the login.php page gives me a HTTP ERROR 500:

https://infinityfree.net/support/http-error-500/

1 Like

@Ergastolator1 hi…i have enabled PHP error and it says Fatal error : No such file or directory in /home/vol10_2/epizy.com/epiz_24995359/htdocs/Connections/User_Information.php on line 9
but the page does exist in my code and website…what should i do now?? What does this means?

What file are you trying to include and which path is it?

all my files are included in htdocs. the problem is it only opens index file… I tried to include my other website files also and again only index page opens perfectly… no other page opens eg. register.php, login.php etc… it shows error mentioned in my below comment…

Can you please paste here the codes you’ve in User_Information.php?

<?php # FileName="Connection_php_mysql.htm" # Type="MYSQL" # HTTP="true" $hostname_User_Information = "localhost"; $database_User_Information = "user_registration"; $username_User_Information = "root"; $password_User_Information = ""; $User_Information = @mysql_pconnect($hostname_User_Information, $username_User_Information, $password_User_Information) or trigger_error(mysql_error(),E_USER_ERROR); ?>