Current time: 05-05-2024, 04:45 AM Hello There, Guest! (LoginRegister)


Post Reply 
everything is being redirected to ispCP - Apache problem I think
Author Message
jim.thornton Offline
Junior Member
*

Posts: 29
Joined: Jul 2009
Reputation: 0
Post: #11
RE: everything is being redirected to ispCP - Apache problem I think
# cat ispcp.conf
Code:
# httpd Data BEGIN.

#
# wget-hack prevention
#

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

#
# Log processing.
#

LogFormat "%B" traff
LogFormat "%v %b %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" ispcplog

CustomLog "| /var/www/ispcp/engine/ispcp-apache-logger" ispcplog
ErrorLog "| /var/www/ispcp/engine/ispcp-apache-logger -e"

#
# mod_cband configuration
#

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

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

AddDefaultCharset Off

#
# Header End
#

# httpd [{IP}] virtual host entry BEGIN.
# httpd [{IP}] virtual host entry END.

# httpd Data END.
(This post was last modified: 08-05-2009 04:48 AM by jim.thornton.)
08-05-2009 04:47 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: everything is being redirected to ispCP - Apache problem I think - jim.thornton - 08-05-2009 04:47 AM

Forum Jump:


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