niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » Linux
Awstats secure patch
Post new topic   Reply to topic Page 1 of 1 [4 Posts] View previous topic :: View next topic
Author Message
mihai
*nix forums addict


Joined: 27 Jan 2005
Posts: 71

PostPosted: Wed Mar 09, 2005 8:59 pm    Post subject: re:Awstats secure patch Reply with quote

you can run with with any user as long as the user has write permissions to the file htpasswd will use to store passwords.
Back to top
KerneL
*nix forums beginner


Joined: 28 Jan 2005
Posts: 37

PostPosted: Wed Mar 09, 2005 6:55 pm    Post subject: re:Awstats secure patch Reply with quote

Thx but with what user should i run this commands root? or i can run with apache?
Back to top
mihai
*nix forums addict


Joined: 27 Jan 2005
Posts: 71

PostPosted: Tue Mar 08, 2005 4:23 pm    Post subject: re:Awstats secure patch Reply with quote

just make sure you restrict access to awstats .
Use a .htaccess file that contains:
Code:

AuthName awstats
AuthUserFile /path/to/awstats.pwd
AuthType Basic
<Limit GET POST>
require valid-user
</Limit>

Save the .htaccess file in the same directory where you have your awstats.pl script.
/path/to/awstats.pwd is the file that contains the user/password info for the users that will have access to awstats.pl, it is recommended you keed this file in a directory that is not accessible from web.
to add a user to this file you can use :
if the file /path/to/awstats.pwd is not empty use :
Code:
htpasswd username /path/to/awstats.pwd

if the file is empty you should use :
Code:
htpasswd -c username /path/to/awstats.pwd
Back to top
KerneL
*nix forums beginner


Joined: 28 Jan 2005
Posts: 37

PostPosted: Tue Mar 08, 2005 1:40 pm    Post subject: Awstats secure patch Reply with quote

Can anybody tell meu how to secure Awstats the vulnerable version agains the exploits but without upgrading to a new version?
Thx
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [4 Posts] View previous topic :: View next topic
The time now is Tue Dec 02, 2008 6:24 am | All times are GMT
navigation Forum index » *nix » Linux
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts [PATCH] Mantaining turnstile aligned to 128 bytes in i386... Attilio Rao Architecture 5 Tue Jul 25, 2006 3:13 pm
No new posts SUSE 10.1 new patch Butternut Squash Suse 3 Fri Jul 21, 2006 3:27 am
No new posts Problems with make-kpkg and skas patch Todd A. Jacobs Debian 0 Fri Jul 21, 2006 12:30 am
No new posts someone using apmd on ppc please test patch for #222635 Aníbal Monsalve Salazar devel 1 Thu Jul 20, 2006 11:50 pm
No new posts HPSBMA02133 SSRT061201 rev.1 - HP Oracle for OpenView (Of... Security Alert HP-UX 0 Thu Jul 20, 2006 6:43 pm

Loans | Credit Cards | Loans | Mobile Phone | Credit Cards
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1133s ][ Queries: 20 (0.0387s) ][ GZIP on - Debug on ]