Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Dual & triple admin login problem


Guest

Recommended Posts

Posted

I've set up a MS 2.2 cart. All works fine except that when I login to the Admin side and click any link (ie: orders), I get another login prompt. This isn't just annoying, it's wreaking havoc on my currency cron job.

 

I've checked both Cpanel and the .htaccess file for Admin, and there's only the one protected folder, like usual.

 

Here's the .htaccess:

 

# $Id: .htaccess,v 1.1 2003/06/20 00:18:30 hpdl Exp $
#
# This is used with Apache WebServers
#
# For this to work, you must include the parameter 'Options' to
# the AllowOverride configuration
#
# Example:
#
# <Directory "/usr/local/apache/htdocs">
#   AllowOverride Options
# </Directory>
#
# 'All' with also work. (This configuration is in the
# apache/conf/httpd.conf file)

# The following makes adjustments to the SSL protocol for Internet
# Explorer browsers

<IfModule mod_setenvif.c>
 <IfDefine SSL>
   SetEnvIf User-Agent ".*MSIE.*" \
            nokeepalive ssl-unclean-shutdown \
            downgrade-1.0 force-response-1.0
 </IfDefine>
</IfModule>

# Fix certain PHP values

#<IfModule mod_php4.c>
#  php_value session.use_trans_sid 0
#  php_value register_globals 1
#</IfModule>

DirectoryIndex index.php

AuthType Basic

AuthName "osCommerce Admin"

AuthUserFile "/home/MYUSERNAMEHERE/.htpasswds/shop/admin/passwd"


require valid-user

 

Where MYUSERNAMEHERE is, I have the username for the host.

I've set up a couple of other MS2.2's but never had this problem... so I'm not sure where else the problem could be hiding.

 

Any help greatly appreciated.

 

Thanks,

Violet

Archived

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

×
×
  • Create New...