![]() |
Awstats password protection - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Development Area (/forum-1.html) +--- Forum: Suggestions (/forum-2.html) +--- Thread: Awstats password protection (/thread-1562.html) |
RE: Awstats password protection - ghislain - 04-16-2008 09:48 PM sorry i did not real 100% of this thread but awstats is just a page served by apache. So why not use the directory protection module allready in ispcp and add a group 'awstats' to the protected directory setup and make a default user awstats/awstats ? then by default you require a user in this group and this is done without mod perl of strange other dependancies , am i missleaded ? regards, Ghislain. RE: Awstats password protection - Eminos - 04-23-2008 12:44 AM I really like Cube's solution: http://www.isp-control.net/forum/awstats-password-protection-t-1562-3.html#pid23110 It's simple, and it gives us an integrated solution that can be enhanced. Sound great to me. And it seems simple to realize as well ![]() /E RE: Awstats password protection - Eminos - 04-24-2008 08:52 PM Hi guys! I just found this. Would it work for the awstats protection? http://packages.dotdeb.org/dists/etch/libapache2-mod-auth-mysql/ /E RE: Awstats password protection - Cube - 04-25-2008 05:29 AM But it's not officially available for Etch (and perhaps for other distros also). RE: Awstats password protection - rauschr - 05-13-2008 07:47 AM inserted into a .htaccess file where is this file? [code] PerlModule My::Auth <Location /private> PerlAccessHandler My::Auth::access_handler ... RE: Awstats password protection - momo - 06-14-2008 12:46 AM Is there any way to use BeNe solution + passing a variable path to AuthUserFile. Preventing different user to log in others websites accounts. RE: Awstats password protection final solutio! - rycardo74 - 06-14-2008 05:54 AM Hello people I have god news ,Im found a solution for Awstats password protection simple on debian etch. 1- open a terminal of your machine 2- download libapache2-mod-auth-mysql from my site # wget http://www.auyama.it/cfh.php?file=libapache2-mod-auth-mysql_4.3.9-3.dotdeb.1_i386.deb 3- check the content of package (for security reasons) #dpkg -I mysqlmod/libapache2-mod-auth-mysql_4.3.9-3.dotdeb.1_i386.deb #dpkg -c mysqlmod/libapache2-mod-auth-mysql_4.3.9-3.dotdeb.1_i386.deb 4- install the package #dpkg -i mysqlmod/libapache2-mod-auth-mysql_4.3.9-3.dotdeb.1_i386.deb 5 enable the module #a2enmod auth_mysql 6- Restart apache #/etc/init.d/apache2 restart 7- check if libapache2-mod-auth-mysql apache2ctl -t -D DUMP_MODULES this command give you alist of all modules enable check if "auth_mysql_module (shared)" is present 8- now you have to enable the auth on your awstats apache2 config 9- edit this file "/etc/apache2/sites-enabled/01_awstats.conf with you" prefer editor I'm use "#vi /path/filename" and add this lines in top of the file Code: AuthMySQL_DefaultHost hostmane and this lines Code: AuthName "AWStats auth" between Directory tags "<Directory /usr/lib/cgi-bin></Directory>" better if at the end 10- Restart apache #/etc/init.d/apache2 restart 11- and enjoy!!! RE: Awstats password protection - BeNe - 06-16-2008 03:34 AM Fine - thanks! Is there also a 64-Bit Version availabe ? The problem is that it cant be installed with apt-get and is not available on other Linux distros. But in the Debian case it looks ok. Greez BeNe RE: Awstats password protection - Eminos - 06-16-2008 03:36 AM BeNe Wrote:The problem is that it cant be installed with apt-get... Yes you can if you add the dotdeb repository to apt sources first. /E RE: Awstats password protection - Cube - 06-16-2008 04:00 AM I have not tested this yet, but I think it is still necessary to modify the awstats-configs (AllowAccessFromWebToAuthenticatedUsersOnly / AllowAccessFromWebToFollowingAuthenticatedUsers) to avoid that the users can access their stats one another. |