|
how to secure awstats in static mode ?
|
| Author |
Message |
natural
Junior Member

Posts: 16
Group: Registered
Joined: Apr 2008
Status:
Offline
Reputation: 0
|
how to secure awstats in static mode ?
Hello everybody,
I'm looking for a solution to secure awstats in static mode with .htaccess.
Could you help me ?
How can i do ?
( i'm a newbie so if you can explain me all the operation step by step
Thanks you
Sorry for my english
|
|
| 04-24-2008 08:47 PM |
|
 |
xister
Junior Member
   
Posts: 148
Group: Dev Team
Joined: Oct 2006
Status:
Offline
Reputation: 5
|
RE: how to secure awstats in static mode ?
|
|
| 04-24-2008 09:09 PM |
|
 |
natural
Junior Member

Posts: 16
Group: Registered
Joined: Apr 2008
Status:
Offline
Reputation: 0
|
RE: how to secure awstats in static mode ?
I have see , but it's not explain step by step , i'm a newbie ..
Could you help me ?
|
|
| 04-26-2008 07:13 AM |
|
 |
joximu
Moderator
    
Posts: 3,534
Group: Moderators
Joined: Jan 2007
Status:
Offline
Reputation: 47
|
RE: how to secure awstats in static mode ?
http://httpd.apache.org/docs/2.2/howto/htaccess.html and a search for "howto htaccess" in your favorite search engine should give you enough information.
And: this information is already written - so please read what's already available instead of asking for another time consuming step-by-step tutorial.
This is not a general newbie forum. I hope you understand this.
Regards Joximu
2008-03-16 ispCP RC4 released!!!
|
|
| 04-26-2008 08:17 AM |
|
 |
natural
Junior Member

Posts: 16
Group: Registered
Joined: Apr 2008
Status:
Offline
Reputation: 0
|
RE: how to secure awstats in static mode ?
I know what is a htacces , but when i put htaccess and htpassword in /var/www/ .. static ( awstats ) it's dont work.
Anybody have an idea ?
Regards , quentin
|
|
| 04-26-2008 06:17 PM |
|
 |
Cube
Documentation Team
  
Posts: 544
Group: Docu Team
Joined: Apr 2007
Status:
Offline
Reputation: 7
|
RE: how to secure awstats in static mode ?
|
|
| 04-26-2008 08:35 PM |
|
 |
natural
Junior Member

Posts: 16
Group: Registered
Joined: Apr 2008
Status:
Offline
Reputation: 0
|
RE: how to secure awstats in static mode ?
Well ,
At the begining i have installed my server with awstat in dynamic mode , after 2weeks i have change to static mode and it's work well.
After that , i have tried to secure /statistics
To secure this directory i have put a htacces & htpassword in /statistics but i already can access to statitics without login & password.
What can i do ?
Sorry , i'm have already work with htacces with succes but here it don't work.
Thanks for yours anwsers everybody !
Regards ,
Quentin
This post was last modified: 04-26-2008 09:10 PM by natural.
|
|
| 04-26-2008 09:08 PM |
|
 |
Cube
Documentation Team
  
Posts: 544
Group: Docu Team
Joined: Apr 2007
Status:
Offline
Reputation: 7
|
RE: how to secure awstats in static mode ?
Have you regenerated the configs after the change? Are there such sections in /etc/apache2/sites-available/ispcp.conf?
# httpd awstats support BEGIN.
Alias /stats /var/www/virtual/domain.tld/statistics/
<Directory "/var/www/virtual/domain.tld/statistics">
AllowOverride AuthConfig
DirectoryIndex awstats.domain.tld.html
Order allow,deny
Allow from all
</Directory>
# httpd awstats support END.
Especially the "AllowOverride AuthConfig" is important.
And you still have not posted the information I asked you.
This post was last modified: 04-26-2008 09:21 PM by Cube.
|
|
| 04-26-2008 09:18 PM |
|
 |
natural
Junior Member

Posts: 16
Group: Registered
Joined: Apr 2008
Status:
Offline
Reputation: 0
|
RE: how to secure awstats in static mode ?
Have you regenerated the configs after the change? Are there such sections in /etc/apache2/sites-available/ispcp.conf?
# httpd awstats support BEGIN.
Alias /stats /var/www/virtual/domain.tld/statistics/
<Directory "/var/www/virtual/domain.tld/statistics">
AllowOverride AuthConfig
DirectoryIndex awstats.domain.tld.html
Order allow,deny
Allow from all
</Directory>
# httpd awstats support END.
Especially the "AllowOverride AuthConfig" is important.
And you still have not posted the information I asked you.
I juste have this in my config file :
# httpd awstats support BEGIN.
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /stats http://localhost/stats/domain.tld
ProxyPassReverse /stats http://localhost/stats/domain.tld
# httpd awstats support END.
Dont work mean = i can access to awstat directly without login and pass
I have to change my config file for ?
# httpd awstats support BEGIN.
Alias /stats /var/www/virtual/domain.tld/statistics/
<Directory "/var/www/virtual/domain.tld/statistics">
AllowOverride AuthConfig
DirectoryIndex awstats.domain.tld.html
Order allow,deny
Allow from all
</Directory>
ProxyRequests Off
<Proxy *>
AllowOverride AuthConfig
DirectoryIndex awstats.domain.tld.html
Order allow,deny
Allow from all
</Proxy>
ProxyPass /stats http://localhost/stats/domain.tld
ProxyPassReverse /stats http://localhost/stats/domain.tld
# httpd awstats support END.
Regards ,
Quentin
|
|
| 04-26-2008 09:41 PM |
|
 |
Cube
Documentation Team
  
Posts: 544
Group: Docu Team
Joined: Apr 2007
Status:
Offline
Reputation: 7
|
RE: how to secure awstats in static mode ?
|
|
| 04-26-2008 10:04 PM |
|
 |
|
|