1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Permissions for webstats folder

Discussion in 'Plesk for Windows - 8.x and Older' started by minglis, Jan 20, 2005.

  1. minglis

    minglis Guest

    How can I secure the webstats folder, generated by AWStats, so that it is not viewable by anonymous users?

  2. iMedia

    iMedia Guest

    to include:

    <Directory "/usr/share/awstats/wwwroot">

    AuthType Basic
    AuthName "Description Here"
    AuthUserFile /etc/awstats/awstats.pwd
    require valide-user

    then create the file:

    then run this:
    #/usr/local/psa/admin/bin/htpasswd -bm /etc/awstats/awstats.pwd $username $password

    (replace $username and $password with what you want for a login)

    you'll have to run the last cmd each time you need to add user

    -that should do it.