ozstar Posted March 7, 2003 Share Posted March 7, 2003 Thanks.. I checked and I had changed it back to where it was pointed to.. catalog/admin both .htxxx files In catalog/admin/.htaccess.. AuthType Basic AuthUserFile /home/MyID/leagueandlegends-www/catalog/admin/.htpasswd AuthName "Leagues Shop Security" require valid-user In same directory .htpasswd file with 1 line ID xxxx:xxxxx Pwd. The login panel keeps coming back asking for input again and again. What could be going on? .htaccess, does work on the server as I use it okay in /catalog/ for the default.php, index etc. Thanks Link to comment Share on other sites More sharing options...
Christian Lescuyer Posted March 7, 2003 Share Posted March 7, 2003 Most usually: - the path is wrong, or - the password is wrong Also, there's no need to put the .htpasswd file in the same directory. Actually, it would be better if you could put it outside the site directories. Christian Lescuyer Link to comment Share on other sites More sharing options...
ozstar Posted March 7, 2003 Author Share Posted March 7, 2003 Thank you. I have moved it outside into what is my root of my shared server but I am not sure how to write the path to it. This is in my lowest 'root' dir.. /leagueandlegends-mail /leagueandlegends-logs /leagueandlegends-secure /leagueandlegends-www /www/ The .htpasswd file is in this same lowest dir which I uploaded it to in ascii. The .htaccess file is in /catalog/admin/ It has the following path it. AuthType Basic AuthUserFile /league/leagueandlegends-www/catalog/admin/.htpasswd AuthName "Leagues Shop Security" require valid-user I know it is incorrect as the file is not in admin. But how then do I write the path to the dir where it is? BTW. All my files are duplicated in secure, -www and www dirs Thanks icon_cry.gif Link to comment Share on other sites More sharing options...
Christian Lescuyer Posted March 8, 2003 Share Posted March 8, 2003 But how then do I write the path to the dir where it is? It is the absolute path for the filesystem, not the Apache server. It usually looks like /var/www/vhosts/domain.com/html... or /home/login/.... You generally can get a good idea with phpinfo(). Look at the SCRIPT_FILENAME variable. Christian Lescuyer Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.