epiz_28356707
403 Forbidden
The website’s configuration prevents you from accessing this page.
Seems to be preventing any includes from directories outside of the directory where I keep my index.php
here is my htaccess:
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://truthshriekers.epizy.com/$1 [R,L]
RedirectMatch 301 /index2.html /Home/index.php
hm
I never had this issue but assume SEO is inferring it just a assumption just check it our or reload your site for 40 to 50 times when i get i do it it comes no worries i believe why till now admin did not came
try out
having to reload the page 40-50 times if someone wants to register an account is going to be a problem
I’m just going to leave this up overnight and assume it’s an issue with infinity, had a couple problems getting the site to load at all a few hours ago and maybe this will just resolve itself
if not I’ll update this thread
alexvf
April 11, 2021, 3:02pm
4
When do you see this error?
The website looks fine on my end.
2 Likes
There are objects that it is supposed to pull from subfolders that you cannot see in that screenshot.
and when you try to make an account here https://truthshriekers.epizy.com/Home/register.php
it takes you to a 403
It could be that there’s a security filter in the web server preventing direct access
Maybe move the signup page to a different directory?
-moved the objects folder into the same “home” folder where i keep index.php
and I think it was case sensitive, too (changed “Objects” to “objects”)
still getting a 403 when trying to register an account though
more detail about the error:
https://truthshriekers.epizy.com/includes/register.php redirects to the 403 and not the site’s index as it should
https://truthshriekers.epizy.com/includes/index2.html (I put it in there to try and troubleshoot) redirects to the site index
https://truthshriekers.epizy.com/includes/test_script.php
403 error. Here is the script:
<?php
header("Location: ../Home/index.php?result=this_is_a_test");
exit();
EDIT:
https://truthshriekers.epizy.com/test/test_script.php
it doesn’t like the includes folder for whatever reason…
EDIT 2:
How do I emulate infinityfree’s host servers on localhost so I don’t encounter these problems when I upload php files to the server??
Yes, don’t use a directory titled “includes”, there are some security settings on it.
3 Likes
annoying that it took this long to discover. Thanks!
2 Likes
system
Closed
April 27, 2021, 12:53am
12
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.