Support ⇒ Troubleshootings ⇒ Access to index.php is forbidden ⇒ Community Forums ⇒ CPG Dragonfly™ CMS
Forum IndexTroubleshootings

Access to index.php is forbidden Reply to topic


So I am moving to a new server - and now on one of my sites, I'm getting this error:

Access to the URL that you requested, /index.php, is forbidden.

I've searched on the forum here and nothing seems to apply.

I can log on as Admin just fine - but if I want to login as a member it will deny me.

Weirdly enough as an anonymous user I can access domainname.com/index.php but if I try to login, it gives the above error.

If I try to access Your Account to log in there - it gives this error:

Access to the URL that you requested, /index.php?name=Your_Account&file=register, is forbidden.

it seems to be chmodded right ... just never seen this before.

Any advice??

Thanks in advance!

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
[ Linux / Apache 2.2.8 / MySQL 5.0.45 / PHP 5.2.6 / CPG 8.2b - 9.3.4.1]


Try to login into your admin backend and check if user registration is enabled.

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS


Yes user reg is enabled.

but weird thing - it will not allow me to de-actiovate it in the Module admin area, checkbox with green checkmark is NOT clickable for just the Your_account module.

It will allow me to access the edit for that module and change things, but after submit - it reverts back to what it was originally.

Maybe it isnt chmodded right? I thought it was supposed to be 755.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
[ Linux / Apache 2.2.8 / MySQL 5.0.45 / PHP 5.2.6 / CPG 8.2b - 9.3.4.1]


Do you get the error when visiting the register page or after the POST.

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS

All times are UTC


Jump to: