Lauren773 Posted May 13, 2003 Posted May 13, 2003 My oscommerce is on win2k and I cannot get the .htaccess or the .htpasswrd to work for my admin side of my site. Because I am on win2k, I am confused as to what to put for the AuthUserFile. Someone please clearify this for me. I feel like I have tried everything. :cry:
Beridox Posted May 15, 2003 Posted May 15, 2003 Hi! I hade it on a w2k pro computer and got it to work, then I moved it to another (w2k server) and cant get i right. I put both files in same catalog (admin) my.htaccess looks like this AuthType Basic AuthUserFile "E:Appservwwwtestcatalogadmin.htpasswd" AuthName "Locked" require valid-user and the .htpasswd just the username och password in it. But it dosent work :( But you can try if you want :) /Anneli
Daemonj Posted May 16, 2003 Posted May 16, 2003 Are you using Apache or IIS as your webserver? Any .ht* file is Apache only and will not work with IIS. "Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein
Beridox Posted May 16, 2003 Posted May 16, 2003 I am using Apache, i got it to work on my other computer as well. Lauren773 i dont know :( /Beridox
Lauren773 Posted May 19, 2003 Author Posted May 19, 2003 Thanks for the reply. Unfortunately I am using IIS and still cannot get it to work. Does anyone know what my alternative choices are for securing the admin folder since I cannot get the .htaccess and .htpasswrd to work.
Daemonj Posted May 19, 2003 Posted May 19, 2003 As I stated before, .ht files are Apache only and will not work with IIS. The easiest thing to do would be to download and install Apache. "Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein
Lauren773 Posted May 20, 2003 Author Posted May 20, 2003 Gotcha! :wink: So is this my only choice? Everyone on here is using Apache and not IIS?
Daemonj Posted May 20, 2003 Posted May 20, 2003 Gotcha! :wink: So is this my only choice? Everyone on here is using Apache and not IIS? No, installing and using Apache vice IIS is not your only choice. You could wade through an IIS Administrator's manual to determine the corresponding settings. Since my server is *nix with Apache, I did not think that it made sense for my development platform to be much different. I am running Win2K SP3 with Apache 1.32 and have not had any problems. In fact, my system is much more stable since disabling IIS. You will find more people that can help you with Apache than IIS as well. "Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein
Recommended Posts
Archived
This topic is now archived and is closed to further replies.