Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

need to password protect my admin panel etc.


moose

Recommended Posts

Posted

Hi

 

I'm really very new at this and I will appreciate any help, be patient though, I really need step by step here...

 

I need to protect my admin panel but right now all I have to do is set my browser to /catalog/admin and we are right in, meaning, anyone can make changes. What should I do?

 

I have made all the necessary protection changes to the configure.php but am still getting the Warning at top of intro page. When I made the canges to the bottom part of the application_top.php the whole page was lost (not error 404 but the whole page is blank):

 

// set which precautions should be checked

define('WARN_INSTALL_EXISTENCE', 'true');

define('WARN_CONFIG_WRITEABLE', 'true');

define('WARN_SESSION_DIRECTORY_NOT_WRITEABLE', 'true');

define('WARN_SESSION_AUTO_START', 'true');

define('WARN_DOWNLOAD_DIRECTORY_NOT_READABLE', 'true');

?>

 

changed as follows:

define('WARN_CONFIG_WRITEABLE', 'false');

this cause the page to disappear.

 

 

links to: My Account; log yourself in and Create an Account all send me to this error page:

 

The page cannot be displayed

Cannot find server or DNS Error

Internet Explorer

 

What can I say but I need all the help I can get

 

Thank you

Posted

I did take a look at the .htaccess but unfortunately don't quite know where to start.

 

I'll try to look for some more 'a-b-c' information, can't seem to find it though

Thanks again

Posted

If your server has a GUI control panel (e.g. cPanel, Plesk, or Ensim), then you should have a Password Protect or Directory Protect or some type of protection option available.

 

Select it, select your admin folder, create a user and password, select to protect the admin folder, and assign that user to the admin folder.

 

This will create the .htaccess and .htpasswd files for you and is much quicker and easier. ;)

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Posted

thank you for all your help guys.

 

I think I might have found the solution to all my problems though by changing hosting company to one that knows what it's doing.

 

 

I appreciate all the help that I got, thaks again.

Posted

sorry the hosting co's address is actually:

 

Read forum rules, no commercial posting

 

The_Bear

Archived

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

×
×
  • Create New...