Jump to content



Latest News: (loading..)

- - - - -

403 Forbidden (Configuration Section)

403 forbidden configuration

  • Please log in to reply
2 replies to this topic

#1   cymru78

cymru78
  • Members
  • 4 posts
  • Real Name:Mark

Posted 27 June 2012 - 03:32 PM

Hi,
I posted a similar thing in another part of the forum, but in the wrong section.

I've tried two installations to sort this out and not getting anywhere.

First installation is automatic using Fantastico. When I clicking anything under 'Configuration' (apart from Administrators and Store Logo) the links direct me straight to my store. ie; I'm totally unable to change settings.

The other installation is done via ftp (first time I've ever used ftp).
This time, clicking on the same options I get the following error:


You don't have permission to access /XXX/catalog/admin/configuration.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


I've changed file permissions and tried other things that I've found while searching for a solution, but nothing seems to be working.


I'm using the latest version 2.3.1


Help will be appreciated and this is pretty important as I need to get the store sorted asap.


#2   cymru78

cymru78
  • Members
  • 4 posts
  • Real Name:Mark

Posted 28 June 2012 - 12:43 PM

Anyone?

#3   MrPhil

MrPhil
  • Members
  • 4,194 posts
  • Real Name:Phil
  • Gender:Male

Posted 28 June 2012 - 04:32 PM

Quote

You don't have permission to access /XXX/catalog/admin/configuration.php on this server.
What were you doing to try to access this file (directly or through some other script)? As part of installation, did you change the name of the admin/ directory to something else, as recommended? Did you then update admin/includes/configure.php with the changed admin name? Do you have admin/ (or new name) under password protection, and is that working properly?

Quote

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Don't worry about this one -- it's just a brain fart from the Apache server. Define your own "error documents" /403.shtml etc. if you don't want to be pestered by this message.

Quote

I've changed file permissions and tried other things that I've found while searching for a solution, but nothing seems to be working.
Directories should normally be 755, and files 644. The two configure.php files should normally be 444 (read only to PHP) once you're done tweaking them. For unusual server setups, these permissions may need to be changed.