Current time: 12-28-2024, 05:35 AM 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: #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
Post Reply 


Messages In This Thread
RE: how to secure awstats in static mode ? - natural - 04-26-2008 09:41 PM

Forum Jump:


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