Current time: 11-23-2024, 02:50 PM Hello There, Guest! (LoginRegister)


Post Reply 
[SOLVED] Apache: Sites Enabled: 00_master.conf
Author Message
HSorgYves Offline
Junior Member
*

Posts: 94
Joined: Feb 2008
Reputation: 0
Post: #7
RE: Apache: Sites Enabled: 00_master.conf
Thanks,

Working fine this way.

What about the first lines in ispcp.conf? Should I add them to 00_default.conf as well?
Code:
#
# wget-hack prevention
#

<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{HTTP_USER_AGENT} ^LWP::Simple
    RewriteRule ^/.* http://%{REMOTE_ADDR}/ [L,E=nolog:1]
</IfModule>

#
# Web traffic accounting.
#

LogFormat "%B" traff

#
# mod_cband configuration
#

<IfModule mod_cband.c>
    CBandScoreFlushPeriod 10
    CBandRandomPulse On
</IfModule>

#
# let the customer decide what charset he likes to use
#

AddDefaultCharset Off
And the traffic limit lines?
Code:
<IfModule mod_cband.c>
    <CBandUser domain.tld>
        # CBandUserLimit 0Mi
        # CBandUserScoreboard /var/www/scoreboards/domain.tld
        # CBandUserPeriod 4W
        # CBandUserPeriodSlice 1W
        # CBandUserExceededURL http://ispcp.domain.tld/errors/bw_exceeded.html
    </CBandUser>
</IfModule>
04-20-2008 08:05 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Apache: Sites Enabled: 00_master.conf - HSorgYves - 04-20-2008 08:05 PM

Forum Jump:


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