Guest Posted September 4, 2003 Posted September 4, 2003 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: .htaccess AuthUserFile admin/.htpasswd AuthGroupFile /dev/null AuthName "Password Protected Area" AuthType Basic <limit GET POST> require valid-user </limit> .htpasswd: admin:m7VKVgF.s/Mb6 Both are under the admin directory. Anyone know why this ain?t working?
Guest Posted September 4, 2003 Posted September 4, 2003 Are you using the password you showed us? That looks encrypted ...
Guest Posted September 4, 2003 Posted September 4, 2003 Yes, it is encrypted and am not using it. I know what the real password is...
njsmith Posted September 4, 2003 Posted September 4, 2003 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.... Regards Nick
aboyz Posted September 4, 2003 Posted September 4, 2003 yeah you need the full path to your passwordfile example: /home/dohma/catalog/admin/passworfile like that ok hope that help.. if not create another passwordfile and make sure the passwordfile is in that directory..
Guest Posted September 7, 2003 Posted September 7, 2003 Still can?t get this to work. The full path is /admin/.htpasswd... I also tried to change permission to 777 (on both files) but no luck with that.
Geotex Posted September 8, 2003 Posted September 8, 2003 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 </Directory> and, your path is incomplete. Should be something like /services/webpages/a/m/ameriwebs.net/public or, on your local server, d:/phpdev/phpdev/www/public/whatever/catalog/admin Hope this helps. GEOTEX from Houston, TX (George)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.