Hi, I've go Awstats installed on my site but it's available to public by accessing mysite.com/stats. How can I change that URL or make the stats private so no one else can access them? I've got full root access and permissions in the server, which uses DirectAdmin panel.
Thanks in advance!
PS. I'm not sure it I should have posted in other board, please move it if necessary. ;)
Thanks, but if you mean using the htaccess file for this, is not possible, because I have disabled its usage serverwide to increase performance. Is there some way to protect the dir without using htaccess files?
Msg#: 3954007 posted 3:30 am on Jul 20, 2009 (gmt 0)
the relevant mod_auth directives also work in directory context so you can put this in an appropriate <Directory> section of your apache config file. you might also consider using mod_access [httpd.apache.org] using the Allow or Deny directives for your solution - which also works in directory context.
Thanks! The mod_auth directives worked perfectly and I created the .htpasswd file in a safe location outside the public_html folder. I'm glad there's always people willing to help in this community, I really appreciate your dedication. :)