View Full Version : Protect scripts
<mark />
09-27-2004, 02:48 PM
I've installed AWStats, but I want to add some password protection or something to keep other people from looking at my stats. Anybody know how to do that?
Tom Howard
09-27-2004, 03:46 PM
Well, this is how I did it...
I used the "WebPassword" tool in the control panel to set a password for http://www.mydomain.com/cgi-bin/ I then logged in to my account (via SSH) and went into the cgi-bin directory and edited the .htaccess file that webpassword had created (ls -a to see the file). I added this as the first line:
<files "awstats.pl">
and </files> to the last line, but kept the rest of the stuff there. There may be a more elegant way, this was just a quick hack on my part.
vBulletin® v3.8.3, Copyright ©2000-2009, Jelsoft Enterprises Ltd.