protecting awstats directory

PSS

Well-Known Member
#1
I have installed with litespeed installer to directory "stats" under virtual host - stats page works ok. I have created successful user/pass protections for folders in my site. But I can not seem to do it for stats folder with identical authentication (Password File Realm). Tried Static and CGI contexts with all conceivable paths (to cgi dirs, outpu dirs etc) and nothing works. Restarted the server after each change.

Problem seems to be either context type and/or URI+path because there is some cgi redirection going with awstats.

So my question is: what are correct context settings and context type to protect default installation awstats directory?

Thanks!
 

mistwang

LiteSpeed Staff
#2
If you are using our awstats integration, there is a configuration to add password protection to the awstats pages, just specify the "Realm", no need to define extra contexts.
 
Top