LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-28-2010, 10:23 AM   #1
razzera
Member
 
Registered: Dec 2009
Posts: 105

Rep: Reputation: 15
Awstats question


Hello

Im running a debian server an i just installed awstats. by default the awstats folder is http://mydomain.com/cgi-bin/awstats....g=awstats.conf and i now wonder how i can password protect it. /cgi-bin/ do not exist in the www root.
 
Old 03-28-2010, 02:55 PM   #2
sci3ntist
Member
 
Registered: Dec 2006
Distribution: Debian,Slackware,FreeBSD,CentOS,Red Hat,Windows Server 2008
Posts: 133

Rep: Reputation: 16
This would be an easy step my friend,

<Directory "/path/to/cgi-bin">
AuthName "Your message"
AuthType Basic
AuthUserFile "/path/to/auth/file"
Require user VALID_USER
</Directory>

then, htpasswd -c /path/to/auth/file VALID_USER_NAME
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
quick question with awstats and my log file of 270MB bangsters Linux - Server 17 03-12-2010 01:37 PM
awstats tommytomato Linux - General 4 09-20-2006 06:29 PM
awstats and apache configuration question mcostello1 Linux - Software 1 10-07-2004 06:45 PM
Awstats question tommytomato Linux - Software 0 09-24-2004 07:00 AM
AWstats WiWa Linux - Software 11 08-17-2003 11:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration