Current time: 11-26-2024, 06:33 AM Hello There, Guest! (LoginRegister)


Post Reply 
[CentOS] Perl doesn't add a new line in Apache Config
Author Message
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #4
RE: [CentOS] Perl doesn't add a new line in Apache Config
Open /etc/ispcp/apache/parts/sub_php2_entry.tpl and after last line add a new line.
Code:
<IfModule mod_php5.c>
        php_admin_value open_basedir "{WWW_DIR}/{DMN_NAME}/:{WWW_DIR}/{DMN_NAME}/phptmp/:{PEAR_DIR}/"
        php_admin_value upload_tmp_dir "{WWW_DIR}/{DMN_NAME}/phptmp/"
        php_admin_value session.save_path "{WWW_DIR}/{DMN_NAME}/phptmp/"
        php_admin_value sendmail_path '/usr/sbin/sendmail -f {SUEXEC_USER} -t -i'
    </IfModule>
    <IfModule mod_fastcgi.c>
        ScriptAlias /php5/ {STARTER_DIR}/{DMN_NAME}/
        <Directory "{STARTER_DIR}/{DMN_NAME}">
            AllowOverride None
            Options +ExecCGI -MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>
    <IfModule mod_fcgid.c>
        <Directory {WWW_DIR}/{DMN_NAME}{MOUNT_POINT}/htdocs>
            FCGIWrapper {STARTER_DIR}/{DMN_NAME}/php{PHP_VERSION}-fcgi-starter .php
            Options +ExecCGI
        </Directory>
        <Directory "{STARTER_DIR}/{DMN_NAME}">
            AllowOverride None
            Options +ExecCGI MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule><-here add a new line
Then rebuild.
(This post was last modified: 01-30-2009 05:50 AM by sci2tech.)
01-30-2009 05:49 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [CentOS] Perl doesn't add a new line in Apache Config - sci2tech - 01-30-2009 05:49 AM

Forum Jump:


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