Current time: 11-05-2024, 04:58 PM Hello There, Guest! (LoginRegister)


Post Reply 
how to secure awstats in static mode ?
Author Message
natural Offline
Junior Member
*

Posts: 18
Joined: Apr 2008
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 Offline
Member
*
Beta Team

Posts: 405
Joined: Oct 2006
Reputation: 6
Post: #2
RE: how to secure awstats in static mode ?
please use the search:
http://www.isp-control.net/forum/awstats...562-4.html
04-24-2008 09:09 PM
Find all posts by this user Quote this message in a reply
natural Offline
Junior Member
*

Posts: 18
Joined: Apr 2008
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 Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
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
04-26-2008 08:17 AM
Visit this user's website Find all posts by this user Quote this message in a reply
natural Offline
Junior Member
*

Posts: 18
Joined: Apr 2008
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 Offline
Member
***

Posts: 740
Joined: Apr 2007
Reputation: 9
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 Offline
Junior Member
*

Posts: 18
Joined: Apr 2008
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 Offline
Member
***

Posts: 740
Joined: Apr 2007
Reputation: 9
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 Offline
Junior Member
*

Posts: 18
Joined: Apr 2008
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 Offline
Member
***

Posts: 740
Joined: Apr 2007
Reputation: 9
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
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)