Post Reply  Post Thread 
Pages (2): « First [1] 2 Next > Last »
how to secure awstats in static mode ?
Author Message
natural
Junior Member
*


Posts: 16
Group: Registered
Joined: Apr 2008
Status: Offline
Reputation: 0
Post: #1
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 Wink

04-24-2008 08:47 PM
Find all posts by this user Quote this message in a reply
xister
Junior Member
****
Dev Team

Posts: 148
Group: Dev Team
Joined: Oct 2006
Status: Offline
Reputation: 5
Post: #2
RE: how to secure awstats in static mode ?
04-24-2008 09:09 PM
Find all posts by this user Quote this message in a reply
natural
Junior Member
*


Posts: 16
Group: Registered
Joined: Apr 2008
Status: Offline
Reputation: 0
Post: #3
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
Find all posts by this user Quote this message in a reply
joximu
Moderator
*****


Posts: 3,534
Group: Moderators
Joined: Jan 2007
Status: Offline
Reputation: 47
Post: #4
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
Visit this user's website Find all posts by this user Quote this message in a reply
natural
Junior Member
*


Posts: 16
Group: Registered
Joined: Apr 2008
Status: Offline
Reputation: 0
Post: #5
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
Find all posts by this user Quote this message in a reply
Cube
Documentation Team
***
Docu Team

Posts: 544
Group: Docu Team
Joined: Apr 2007
Status: Offline
Reputation: 7
Post: #6
RE: how to secure awstats in static mode ?

And how can we help you if you don't give us more information? What does "dont work" mean?
http://www.isp-control.net/documentation...n_this_faq

04-26-2008 08:35 PM
Find all posts by this user Quote this message in a reply
natural
Junior Member
*


Posts: 16
Group: Registered
Joined: Apr 2008
Status: Offline
Reputation: 0
Post: #7
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
Find all posts by this user Quote this message in a reply
Cube
Documentation Team
***
Docu Team

Posts: 544
Group: Docu Team
Joined: Apr 2007
Status: Offline
Reputation: 7
Post: #8
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?

Code:
# 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
Find all posts by this user Quote this message in a reply
natural
Junior Member
*


Posts: 16
Group: Registered
Joined: Apr 2008
Status: Offline
Reputation: 0
Post: #9
RE: how to secure awstats in static mode ?

Cube Wrote:
Have you regenerated the configs after the change? Are there such sections in /etc/apache2/sites-available/ispcp.conf?

Code:
# 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 :

Quote:
# 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 ?

Code:
# 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
Find all posts by this user Quote this message in a reply
Cube
Documentation Team
***
Docu Team

Posts: 544
Group: Docu Team
Joined: Apr 2007
Status: Offline
Reputation: 7
Post: #10
RE: how to secure awstats in static mode ?

Just regenerate your configs. After that your config should contain the section I posted before.

04-26-2008 10:04 PM
Find all posts by this user Quote this message in a reply
Pages (2): « First [1] 2 Next > Last »
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump:

| All rights reserved : isp-control.net |