Current time: 09-28-2024, 08:17 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: #9
RE: everything is being redirected to ispCP - Apache problem I think
I've never used debian and have only been using CentOS (linux in general) for 1.5 years. I didn't choose debian because I was afraid of having to re-learn linux. Not to mention, I was under the impression that CentOS was better because it is an Enterprise version.

Files:
/etc/httpd/conf.d -> Contains two files:
Code:
-rw-r--r-- 1 root root 1579 Jul 31 06:29 fastcgi_ispcp.conf
-rw-r--r-- 1 root root  991 Jul 31 06:29 fcgid_ispcp.conf

/etc/httpd/conf.d/fastcgi_ispcp.conf:
Code:
#
# ispCP Ï (OMEGA) a Virtual Hosting Control System
#
# @copyright    2006-2008 by ispCP | http://isp-control.net
# @version              SVN: $Id$
# @link                 http://isp-control.net
# @author               ispCP Team
#
# @license
#   This program is free software; you can redistribute it and/or modify it under
#   the terms of the MPL General Public License as published by the Free Software
#   Foundation; either version 1.1 of the License, or (at your option) any later
#   version.
#   You should have received a copy of the MPL Mozilla Public License along with
#   this program; if not, write to the Open Source Initiative (OSI)
#   http://opensource.org | osi@opensource.org
#
################################################################################​

<IfModule mod_fastcgi.c>
        FastCgiWrapper On
        FastCgiIpcDir /var/lib/apache2/fastcgi

        FastCgiConfig -minProcesses 1 \
                      -maxProcesses 400 \
                      -maxClassProcesses 5 \
                      -multiThreshold 80 \
                      -killInterval 60 \
                      -startDelay 5
                      # -singleThreshold 100 \
                      # -autoUpdate \
                      # -pass-header HTTP_AUTHORIZATION

        FastCgiServer /var/www/fcgi/master/php5-fcgi-starter -user vu2000 -group vu2000 -idle-timeout 300

        #
        # PHP5 SUPPORT
        #

        AddHandler php-fastcgi .php .php5

        <Location /php5/php5-fcgi-starter>
            SetHandler fastcgi-script
            Options +ExecCGI
        </Location>

        Action php-fastcgi /php5/php5-fcgi-starter
        AddType application/x-httpd-php .php .php5
</IfModule>

/etc/httpd/ispcp -> EMPTY

/etc/httpd/vhosts contents:
Code:
-rw-r--r-- 1 root root 2803 Aug  2 14:59 00_master.conf
-rw-r--r-- 1 root root 1455 Jul 31 06:29 01_awstats.conf
-rw-r--r-- 1 root root  791 Jul 31 06:29 ispcp.conf

Does this help?

NOTE: I'm using FastCGI not fcgid
08-05-2009 04:16 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:16 AM

Forum Jump:


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