Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I change my username/pword for Admin?


janggu

Recommended Posts

Posted

Hello,

 

Could anyone please tell me if I can change my login info to the Admin section?

 

Also, is it possible to customize the prompt message to the Admin? It says "You are logging into osCommerce Administration".

 

Thank you!

Posted
Hello,

 

Could anyone please tell me if I can change my login info to the Admin section?

 

Also, is it possible to customize the prompt message to the Admin? It says "You are logging into osCommerce Administration".

 

Thank you!

 

You need to modify your .htaccess file. If you didn't set this up, then most likely your host did.

 

You can edit the lien in the .htacess (the one located inside you admin folder)

 

Find the line that says

 

AuthName "You are logging into osCommerce Administration"

 

And Change it to what you want

ie:

AuthName "Welcome back I missed you !"

or AuthName "Restricted Files - Authorized Access Required"

 

Or whatever.. you get the point.

 

Also inside this .htaccess file are other settings. I will look somethign like this

 

AuthType Basic

AuthName "Restricted Files"

AuthBasicProvider file

AuthUserFile /home/henry/passwords

Require user Henry

 

The AuthUserFile is the location of the password file

Require user Henry - Henry is the login name you can change - or add more

example

 

AuthType Basic

AuthName "Restricted Files"

AuthBasicProvider file

AuthUserFile /home/henry/passwords

Require user Henry

Require user Luke

Require user Beth

 

Each use you define must have an entry in the AuthUserFile

 

Again, if you didn't set this, your admin most likely did. Call or email him/her and tell them the names you'd like to add. Also ask if there is a way that you can maintain this without contactin gthem (for future reference)

My Contributions

 

Henry Smith

Archived

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

×
×
  • Create New...