Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

htaccess problem...


Recommended Posts

I can?t get my htaccess file to work. The password window shows up but when I try to enter the admin side but I can?t login (password ain?t working). The catalog files is directly under root and admin in a directory under root. This is how they look like:



AuthUserFile admin/.htpasswd

AuthGroupFile /dev/null

AuthName "Password Protected Area"

AuthType Basic


<limit GET POST>

require valid-user






Both are under the admin directory. Anyone know why this ain?t working?

Link to comment
Share on other sites

Have you tried adding '/' before the admin as shown below:-


AuthUserFile /admin/.htpasswd


I'm new to osCommerce and LINUX but that was one of the first problems I had when I first used .htaccess.


Just a suggestion....




Link to comment
Share on other sites



you need the full path to your passwordfile






like that




hope that help..


if not create another passwordfile and make sure the passwordfile is in that directory..

Link to comment
Share on other sites

Still can?t get this to work. The full path is /admin/.htpasswd..


If you are running your own server, check Apache httpd.conf file for the following:



# This controls which options the .htaccess files in directories can

# override. Can also be "All", or any combination of "Options", "FileInfo",

# "AuthConfig", and "Limit"


AllowOverride AuthConfig FileInfo


# Controls who can get stuff from this server.


Order allow,deny

Allow from all



and, your path is incomplete. Should be something like



or, on your local server,



Hope this helps.

GEOTEX from Houston, TX



Link to comment
Share on other sites


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

  • Create New...