Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

No permission to access /catalog/admin on this server.


twacking

Recommended Posts

Posted

For some reason I cannot access my catalog admin...any suggestions?

 

 

Forbidden

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

 

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

 

 

--------------------------------------------------------------------------------

 

Apache/1.3.37 Server at www.ewedesign.ca Port 80

Posted
For some reason I cannot access my catalog admin...any suggestions?

Forbidden

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

 

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

--------------------------------------------------------------------------------

 

Apache/1.3.37 Server at www.ewedesign.ca Port 80

 

chmod the admin folder to 755 using the file manager in the control panel of your host

and be sure to secure the admin directory using the password protect directory in the control panel

 

Corrie

Posted
chmod the admin folder to 755 using the file manager in the control panel of your host

and be sure to secure the admin directory using the password protect directory in the control panel

 

Corrie

 

Thanks, it works. I cannot find the password protect directory in te admin directory. How do I secure it? Also my images that come with oscommerce are funny, can you have a look and make a suggestion, http://www.ewedesign.ca/catalog/ . Also, under my tools menu it reads Error: Backup directory does not exist. Please set this in configure.php. ? Not sure what to do. Thanks fo your help!

 

Nicki :'(

Posted

im not sure the answer to how to password protect it but what you could do is rename your admin folder something completely random that no-one no's then in confiq.php set the name of your admin folder to what you just renamed it.

That way no-one can log into your admin folder cos no-one no's the URL?

This could work???

View recent 'helpfull' threads:

 

403 Error problems | Ultimate SEO (contribution support)

Posted
Thanks, it works. I cannot find the password protect directory in te admin directory. How do I secure it?

 

 

As Phil suggested - it's always a good idea to renaem your admin directory to something with at least one number, at least one upper case letter, and a NON dictionary word. Once you have renamed the direcotory, you need to reflect this change in two files :

includes/configure.php

admin/includes/configure.php

 

However - do NOT leave this unprotected. This is a bad idea. Follow these steps - it's very very easy to do :

Downlaod the .htaccess file under the admin directory.

Open the file to see where the .htpasswd file is kept - then go download it.

Generate a new set of credentials using this : http://home.flash.net/cgi-bin/pw.pl

and dump the output into the .htpasswd file

then re-uplaod the .htpasswd file.

 

Also my images that come with oscommerce are funny, can you have a look and make a suggestion,

 

Yes - they're atrocious aren't they!

Right click each image so that you know the filename of the image, and the path of the image :

ie. yoursite.com/catalog/images/banners/imagehere.gif

THEN - get the image that you do want to display, rename it to ther same filename (imagehere.gif) and upload into the same directory which will overwrite the existing image.

Done.

 

Also, under my tools menu it reads Error: Backup directory does not exist. Please set this in configure.php. ? Not sure what to do.

 

Create the correct directory path using ftp, or file manager or ssh or whatever, then define it in your admin/incluces/configure.php file :

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

FTYI - most of the time the backup will time out on your - failing your backup.

You should be setting this up as a cron job that runs once a week in the background, etc. Like this :

http://www.dagondesign.com/articles/automa...-backup-script/

 

Corrina

Posted
As Phil suggested - it's always a good idea to renaem your admin directory to something with at least one number, at least one upper case letter, and a NON dictionary word. Once you have renamed the direcotory, you need to reflect this change in two files :

includes/configure.php

admin/includes/configure.php

 

However - do NOT leave this unprotected. This is a bad idea. Follow these steps - it's very very easy to do :

Downlaod the .htaccess file under the admin directory.

Open the file to see where the .htpasswd file is kept - then go download it.

Generate a new set of credentials using this : http://home.flash.net/cgi-bin/pw.pl

and dump the output into the .htpasswd file

then re-uplaod the .htpasswd file.

Yes - they're atrocious aren't they!

Right click each image so that you know the filename of the image, and the path of the image :

ie. yoursite.com/catalog/images/banners/imagehere.gif

THEN - get the image that you do want to display, rename it to ther same filename (imagehere.gif) and upload into the same directory which will overwrite the existing image.

Done.

Create the correct directory path using ftp, or file manager or ssh or whatever, then define it in your admin/incluces/configure.php file :

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

FTYI - most of the time the backup will time out on your - failing your backup.

You should be setting this up as a cron job that runs once a week in the background, etc. Like this :

http://www.dagondesign.com/articles/automa...-backup-script/

 

Corrina

 

WOW..THANKS!!!!!!!!!!!!!!! :thumbsup:

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...