Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

OsCommerce Login


Guest

Recommended Posts

Posted

My oscommerce/admin page doesn't ask for a login, what can I do?

Posted

I am new to oscommerce so how would I create this file?

Posted

I feel like a total idiot, were can I find my phpuserlogin.php file. The manual wasn't helpful for me, I am still below the language.

Posted

Authorization Required

This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.

 

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

 

 

I can protect this oscommerce/admin from my control and it then asks for a password but comes up the the error above.

Posted

I found the .htaccess file you were talking about and this is what it says

 

.htaccess

File Type: ASCII text

 

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

 

# -FrontPage-

 

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

 

 

order deny,allow

deny from all

allow from all

 

 

order deny,allow

deny from all

 

AuthName www.chris.us

AuthUserFile /home/chris/public_html/_vti_pvt/service.pwd

AuthGroupFile /home/chris/public_html/_vti_pvt/service.grp

Posted

Hi Sarah,

 

To use apache .htaccess facilities there are 2 basic files that you create.

 

1. .htaccess - this file does following stuff.

- defines which files/directories need to be password protected

- defines which users can access those files (i.e. valid users in your passwd file)

- defines the full path of the .htpasswd file that contains the user name you want

 

2. .htpasswd - the file that contains valid user names and passwords you want

 

The following post has very good details on how to set these files up.

 

http://www.oscommerce.com/forums/index.php?sho...=0entry263327

 

The following URL is the Apache doc on .htaccess for late night reading :)

 

http://httpd.apache.org/docs/howto/htaccess.html

 

HTH

Posted

If you mean IIS for a webserver, then just use the standard IIS user based authentication under IIS.

 

If you mean Apache running on a windows server then everything is the same except that of course your /'s become \'s etc. .htaccess works very nicely under windows.

 

HTH

Archived

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

×
×
  • Create New...