Guest Posted November 20, 2003 Share Posted November 20, 2003 I just recently installed a copy of osCommerce(ms2.2) unfortunately the process went smooth. Now my problem is that i need to know i can set up password on .htaccess to secure the admin area. Link to comment Share on other sites More sharing options...
mantronix100 Posted November 20, 2003 Share Posted November 20, 2003 You should be able to do this from your hosts control panel. Lee Link to comment Share on other sites More sharing options...
mortsahl Posted November 20, 2003 Share Posted November 20, 2003 Here's how mine is setup ... .htpasswd in /usr/local/apache It's contents is nothing but a username and encrypted passwod in the format of ... username:<encrypted password> Go to http://www.euronet.nl/~arnow/htpasswd/ to get your encryped password. In my admin directory (default location is <docroot>/catalog/admin) lives the .htaccess file, it contains ... AuthUserFile /usr/local/apache/.htpasswd AuthGroupFile /dev/null AuthName EnterPassword AuthType Basic require user <your username> Then in httpd.conf, locate the line that says... "AllowOverride None" and change it to... "AllowOverride All". Also in httpd.conf locate the line that says... "Options Indexes FollowSymLinks MultiViews" and change it to "Options None" This last bit should turn off allowing directory listings Restart Apache and give it a try -- works for me. Link to comment Share on other sites More sharing options...
Guest Posted November 20, 2003 Share Posted November 20, 2003 I've looked into all the folders for /usr/local/, but i can not find the folder call apache. Link to comment Share on other sites More sharing options...
mortsahl Posted November 20, 2003 Share Posted November 20, 2003 Perhaps I made a bad assumption ... I assumed you are running Linux and the apache webserver. If not, nevermind. If so, do a "locate apache" to find out where it is installed. Link to comment Share on other sites More sharing options...
Guest Posted November 21, 2003 Share Posted November 21, 2003 I tried to locate my apache, but the search came without any luck; I even spent the entire night trying to find that thing. Link to comment Share on other sites More sharing options...
Guest Posted November 25, 2003 Share Posted November 25, 2003 I would like to thank all of you for your big help you've gave me, I got that admin area secured with password; but now i'm epxriencing another problem. The problem is now each i put my password in; it does not regonize the password. I tried several times ad I delete the file and load it back up again still the same. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.