Current time: 05-18-2024, 10:58 PM 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: #13
RE: everything is being redirected to ispCP - Apache problem I think
contents of: /etc/ispcp/apache/working:
Code:
]# ll
total 12
-rw-r--r-- 1 root root 1763 Jul 30 20:38 fastcgi_ispcp.conf
-rw-r--r-- 1 root root  991 Jul 30 20:38 fcgid_ispcp.conf
-rw-r--r-- 1 root root  791 Jul 30 20:38 ispcp.conf
# cat /etc/ispcp/apache/working/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.
08-05-2009 05:15 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 05:15 AM

Forum Jump:


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