Page 1 of 1

The server responded with a status of 403 ()

Posted: 07 Feb 2025, 17:06
by illunis
Good evening Karl,
facing a strange issue. I have recently upgraded to 3.34 and all is working fine....till the time that i tried to access the control panel to make some changes. When i go to 'Manage' and click on ANY of the folders there everything becomes 'gray' and i cannot click anything. I can refresh and try again but as soon as i click on a folder to browse it becomes gray.
I have activated the Dev tools and seen that it complains about two things

failed to load resource: the server responded with a status of 403 () gateway/x3_menu.php:1
failed to load resource: the server responded with a status of 403 () gateway/ajax_show_filemanager.php:1 

I am guessing that it has something to do with the .htaccess? I have used the one provided as always.

Thanks in advance,
iLLUNiS
https://aperture.gr
        
        
       

Re: The server responded with a status of 403 ()

Posted: 07 Feb 2025, 19:29
by mjau-mjau
illunis wrote: failed to load resource: the server responded with a status of 403 () gateway/x3_menu.php:1
failed to load resource: the server responded with a status of 403 () gateway/ajax_show_filemanager.php:1 
Almost certainly, this is some firewall mechanism on your server. When a script triggers a firewall rule, it will usually just respond with 403 (forbidden) or sometimes 500 (internal server error). The only other possible reason the script would return 403, is if the file is actually forbidden (by permissions) or doesn't exist, but I doubt that. You can normally test this by copying the url (from dev tools), and then pasting in a new browser window (with dev tools > network open) ... It would normally show a blank page (correct), but with 200 (OK) response code. That basically means your firewall is specifically blocking POST requests to this script and returning 403.

I doubt it's .htaccess or actual permissions, but the above test will show.

Re: The server responded with a status of 403 ()

Posted: 08 Feb 2025, 02:50
by illunis
Thanks a lot for the reply Karl,
so i tried accessing

aperture.gr/gateway/x3_menu.php

and i am getting a blank page indeed. Is this what we expect?

Re: The server responded with a status of 403 ()

Posted: 08 Feb 2025, 08:48
by mjau-mjau
illunis wrote:aperture.gr/gateway/x3_menu.php
and i am getting a blank page indeed. Is this what we expect?
Yes, that's as expected, and exactly as I said:
illunis wrote:It would normally show a blank page (correct), but with 200 (OK) response code.
Image

As you can see in the screenshot, the file is there and returns 200 ok (not forbidden) when accessed directly. It returns forbidden only when you POST to it (which is necessary from the panel), and this shows that it's a firewall rule that is triggering. This is exactly what I expected and exactly the same issue some others experience.

Unless you can manage the firewall from your hosting control panel, you need to contact your host.

Re: The server responded with a status of 403 ()

Posted: 09 Feb 2025, 05:44
by illunis
Thanks a for the help and feedback Karl. I have now raised it with my provider and it is has been sorted.

iLLUNiS