Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Forgotten password???


stephenhiggins

Recommended Posts

Posted

I've searched the forums, with no luck.

There is a .htpasswords folder on my server for osCommerce admin, but the login details in it don't work.

If anyone can help I'd be very grateful,

 

Thanks in advance,

 

Stephen

Posted

You could ask the host to reset the password for you.. or delete/rename .htpasswords to remove the protection. (I think that works)

Posted
Hi,

 

I've forgotten my admin login details,

If anyone can tell me how I can retrieve them,

I'd appreciate it,

 

Cheers

 

There is .htacess file in your folder.Now download and you will find path where the pwd file is.

If you do have acess to that pwd file you will be able to make out for the user name and that might help you in recalling password.

 

Also if you do have access to control panel then thru that you cancontrol the access.

Still if not done I suggest you to delete admin .htaccess and then add a contribution that controls this admin matter thru DB.

 

 

Satish Mantri

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Posted

Do you have command line interface with your account? If you do this is easily fixed.

 

The .htpasswords is the file the .htaccess file in your admin read from (typically). To make sure it is the correc one, as suggested, download the .htaccess file in your /admin dir (using ftp), open it and look at the path to the .htpasswords is has set in it.

 

For quick access you can delete or rename the .htaccess, though this will leave you admin wide open to the public.

 

If you have command line access, then run the following command

 

[Note this will completely over write the old password file]

 

Structure is Password File Location + User to give access to + Password

You do not want this to be in the public space.

 

example: my web site directory would look like

 

/home/henry/public_html

 

so I would do this

 

htpasswd -c /home/henry Henry MyPassWordThatIWant

 

In side the .htaccess file located in the /admin dir would contain the followign (using the above example)

AuthType Basic

AuthName "Restricted Files"

AuthBasicProvider file

AuthUserFile /home/henry/.htpasswords

Require user Henry

 

As a side note, you do not need to name the .htpasswords with a . in front if you do not wish to. Though th .htaccess must have the . in front. The password file can be named anythign as long you are consistant with using the same name

 

Any questions, just ask.

My Contributions

 

Henry Smith

  • 4 weeks later...
Posted

I have this same problem.. but my admin isnt protected by the host.. its a seperate login page.. how do i find that info?

 

thanks

Posted
I have this same problem.. but my admin isnt protected by the host.. its a seperate login page.. how do i find that info?

 

thanks

In oscommerce there is no page to protect admin.It is thru an htacess file which is cretaed by using cpanel password protect directory or by manually uploading some files.

Unless you have modified code.

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Archived

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

×
×
  • Create New...