Current time: 12-24-2024, 09:44 AM Hello There, Guest! (LoginRegister)


Post Reply 
mail from www-data?
Author Message
achioo Offline
Junior Member
*

Posts: 76
Joined: Nov 2006
Reputation: 0
Post: #24
RE: mail from www-data?
Code:
fastcgi.conf

# ISPCP ω (OMEGA) - Virtual Hosting Control System | Omega Version
# Copyright (c) 2006-2007 by ispCP | http://isp-control.net
#
#
# License:
#    This program is free software; you can redistribute it and/or
#    modify it under the terms of the GPL General Public License
#    as published by the Free Software Foundation; either version 2.0
#    of the License, or (at your option) any later version.
#
#    This program is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GPL General Public License for more details.
#
#    You may have received a copy of the GPL General Public License
#    along with this program.
#
#    An on-line copy of the GPL General Public License can be found
#    http://www.fsf.org/licensing/licenses/gpl.txt
#
########################################################################
#
# @TODO :
# - Finish PHP5 Support
# - Finish config Fastcgi

<IfModule mod_fastcgi.c>
FastCgiWrapper On
FastCgiIpcDir /var/lib/apache2/fastcgi2
FastCgiConfig -minProcesses 1 -maxProcesses 10 -singleThreshold 100
              #-killInterval 300 \
              #-autoUpdate \
              #-idle-timeout 240 \
              #-pass-header HTTP_AUTHORIZATION

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

#
# PHP4 SUPPORT
#

AddHandler php4-fastcgi .php4

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

Action php-fastcgi /php4/php4-fcgi-starter
AddType application/x-httpd-php .php

#
# PHP5 SUPPORT
#

AddHandler php5-fastcgi .php

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

Action php5-fastcgi /php5/php5-fcgi-starter
</IfModule>

Code:
00_master.conf

#
# Master Begin
#

<VirtualHost ip.addr:80>

    ServerAdmin     webmaster@domain.com
    DocumentRoot    /var/www/ispcp/gui

    ServerName      domain.com

    ErrorLog        /var/log/apache2/users/domain.com-error.log
    TransferLog     /var/log/apache2/users/domain.com-access.log

    CustomLog       /var/log/apache2/domain.com-traf.log traff
    CustomLog       /var/log/apache2/domain.com-combined.log combined

    Alias /errors   /var/www/ispcp/gui/errordocs/

    ErrorDocument 401 /errors/index.php
    ErrorDocument 403 /errors/index.php
    ErrorDocument 404 /errors/index.php
    ErrorDocument 500 /errors/index.php

    Alias /pma      /var/www/ispcp/gui/tools/pma/
    Alias /webmail  /var/www/ispcp/gui/tools/webmail/
    Alias /ftp      /var/www/ispcp/gui/tools/filemanager/

    <IfModule mod_fastcgi.c>
           SuexecUserGroup vu2000 vu2000
    </IfModule>

    <Directory /var/www/ispcp/gui>
        Options -Indexes Includes FollowSymLinks MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>

    <IfModule mod_fastcgi.c>
        ScriptAlias /php5/ /var/www/fcgi/master/
        <Directory "/var/www/fcgi/master">
            AllowOverride None
            Options +ExecCGI MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>

    <IfModule mod_php4.c>
        <Directory /var/www/ispcp/gui>
            php_admin_value open_basedir "/var/www/ispcp/gui/:/etc/ispcp/:/proc/:/var/www/virtual/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
            php_admin_value session.save_path "/var/www/ispcp/gui/phptmp/"
        </Directory>
    </IfModule>

</VirtualHost>

#
# Master End
#
11-07-2007 07:25 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
mail from www-data? - achioo - 11-05-2007, 02:22 PM
RE: mail from www-data? - achioo - 11-05-2007, 02:34 PM
RE: mail from www-data? - joximu - 11-05-2007, 06:07 PM
RE: mail from www-data? - achioo - 11-05-2007, 09:37 PM
RE: mail from www-data? - joximu - 11-05-2007, 10:46 PM
RE: mail from www-data? - rbtux - 11-05-2007, 10:57 PM
RE: mail from www-data? - achioo - 11-06-2007, 01:05 AM
RE: mail from www-data? - achioo - 11-06-2007, 01:08 AM
RE: mail from www-data? - achioo - 11-06-2007, 03:55 AM
RE: mail from www-data? - Schlummi - 11-06-2007, 06:27 AM
RE: mail from www-data? - achioo - 11-06-2007, 07:37 AM
RE: mail from www-data? - rbtux - 11-06-2007, 07:43 AM
RE: mail from www-data? - achioo - 11-06-2007, 09:04 AM
RE: mail from www-data? - scoutsniper - 11-06-2007, 09:34 AM
RE: mail from www-data? - rbtux - 11-06-2007, 05:55 PM
RE: mail from www-data? - scoutsniper - 11-07-2007, 03:56 AM
RE: mail from www-data? - BeNe - 11-07-2007, 03:59 AM
RE: mail from www-data? - achioo - 11-07-2007, 05:06 AM
RE: mail from www-data? - achioo - 11-07-2007, 05:09 AM
RE: mail from www-data? - BeNe - 11-07-2007, 05:11 AM
RE: mail from www-data? - achioo - 11-07-2007, 05:21 AM
RE: mail from www-data? - scoutsniper - 11-07-2007, 05:51 AM
RE: mail from www-data? - joximu - 11-07-2007, 06:23 AM
RE: mail from www-data? - achioo - 11-07-2007 07:25 AM
RE: mail from www-data? - BeNe - 11-07-2007, 07:38 AM
RE: mail from www-data? - joximu - 11-07-2007, 10:37 AM
RE: mail from www-data? - achioo - 11-07-2007, 10:49 AM
RE: mail from www-data? - joximu - 11-07-2007, 06:13 PM
RE: mail from www-data? - gOOvER - 11-08-2007, 08:43 PM
RE: mail from www-data? - achioo - 11-08-2007, 11:30 AM
RE: mail from www-data? - joximu - 11-09-2007, 09:25 AM
RE: mail from www-data? - achioo - 11-09-2007, 12:34 PM
RE: mail from www-data? - achioo - 11-09-2007, 01:26 PM
RE: mail from www-data? - joximu - 11-09-2007, 07:47 PM

Forum Jump:


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