Movng Site Login Problem

General ShopSite user discussion

Movng Site Login Problem

Postby dkmoore1987 » Mon Oct 14, 2013 7:44 am

I am moving store from one old server to a new server. I created the new server just fine. I installed the same version of ShopSite as the old server. v11 sp2 r4 I could login just fine. The new server only supports session login while the old server used .htaccess/.htpasswd methodology. I copied the datadir from the old server the new. Now I cannot login. I do not get prompted. Here is the error:


Error

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

Your User Name could not be determined. You should have been prompted by your browser to authenticate by entering a username and password.

Solution:

ShopSite is designed to use your webserver's built-in authentication system via the Apache .htaccess file method. If you are seeing this error message, many times the solution is to edit your webserver's httpd.conf file (or other config file) and allow the use of .htaccess files in your cgi-bin by defining 'AllowOverride All' in a directive for your particular cgi-bin path.

If you are unfamiliar with how to configure your webserver to use .htaccess authentication, your hosting service provider should be able to help you. The following links provide general information on setting up the use of .htaccess authentication for Apache-based webservers:

AllowOverride directive
Troubleshooting

The ShopSite CGI Directory (containing the admin cgis like start.cgi) must be password protected in order to use the ShopSite admin tools. Do not put a password on the Shopping Cart CGI Directory or your customers will be unable to use the shopping cart.


======================================

How can I tell the authentication method not to use .htaccess?
dkmoore1987
 
Posts: 3
Joined: Wed Nov 28, 2012 8:36 am

Re: Movng Site Login Problem

Postby Jim » Mon Oct 14, 2013 9:50 am

When moving a site you must install the new store using the same login method as the old store. Because you installed the new store using the ShopSite login method and not the webserver method, when you transferred the data from the old store to the new store some configuration files said to use the old login method which not not properly setup in the new store.

To resolve the problem you will need to setup .htaccess and .htpasswd files in the ss directory of your new store. This will allow the webserver login to work if the webserver is configured to allow that as mentioned in the error you received.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah


Return to User Forum

Who is online

Users browsing this forum: Bing [Bot] and 31 guests