1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

/etc/apache2/conf.d/zz010_psa_httpd.conf

Discussion in 'Plesk for Linux - 8.x and Older' started by pikkuveli, Jan 18, 2008.

  1. pikkuveli

    pikkuveli New Pleskian

    22
    40%
    Joined:
    Dec 30, 2007
    Messages:
    5
    Likes Received:
    0
    Hi

    I would like to make the following change in this file /etc/apache2/conf.d/zz010_psa_httpd.conf

    And change which I would like to make and there is the one following

    DocumentRoot /usr/share/psa-horde/
    Alias /horde/ /usr/share/psa-horde/
    Alias /imp/ /usr/share/psa-horde/imp/
    ServerName webmail
    ServerAlias webmail.*
    UseCanonicalName Off
    <Directory /usr/share/psa-horde>
    <IfModule mod_php4.c>
    php_admin_flag engine on
    php_admin_flag magic_quotes_gpc off
    php_admin_flag safe_mode off
    php_admin_value open_basedir "/usr/share/psa-horde:/etc/psa-horde:/etc/psa:/tmp:/var/tmp:/var/log/psa-horde:/usr/share/doc"
    php_admin_value include_path "/usr/share/psa-horde:/usr/share/psa-horde/pear:."

    </IfModule>
    <IfModule mod_php5.c>
    php_admin_flag engine on
    php_admin_flag magic_quotes_gpc off
    php_admin_flag safe_mode off
    php_admin_value open_basedir "/usr/share/psa-horde:/etc/psa-horde:/etc/psa:/tmp:/var/tmp:/var/log/psa-horde:/usr/share/doc"
    php_admin_value include_path "/usr/share/psa-horde:/usr/share/psa-horde/pear:/usr/share/psa-horde/lib:."
    </IfModule>

    TO

    DocumentRoot /usr/share/psa-horde/
    Alias /horde/ /usr/share/psa-horde/
    Alias /imp/ /usr/share/psa-horde/imp/
    ServerName webmail
    ServerAlias webmail.*
    UseCanonicalName Off
    <Directory /usr/share/psa-horde>
    <IfModule mod_php4.c>
    php_admin_flag engine on
    php_admin_flag magic_quotes_gpc off
    php_admin_flag safe_mode off
    php_admin_value open_basedir "/usr/share/psa-horde:/etc/psa-horde:/etc/psa:/tmp:/var/tmp:/var/log/psa-horde:/usr/share/doc"
    php_admin_value include_path "/usr/share/psa-horde:/usr/share/psa-horde/pear:."
    suPHP_Engine off
    AddHandler php5-script .php
    AddType text/html .php
    </IfModule>
    <IfModule mod_php5.c>
    php_admin_flag engine on
    php_admin_flag magic_quotes_gpc off
    php_admin_flag safe_mode off
    php_admin_value open_basedir "/usr/share/psa-horde:/etc/psa-horde:/etc/psa:/tmp:/var/tmp:/var/log/psa-horde:/usr/share/doc"
    php_admin_value include_path "/usr/share/psa-horde:/usr/share/psa-horde/pear:/usr/share/psa-horde/lib:."
    suPHP_Engine off
    AddHandler php5-script .php
    AddType text/html .php

    </IfModule>

    How could this be done... Where will I find the file zz010_psa_httpd.conf from, a template

    With best regards

    Jouni Ikäheimo
     
  2. breun

    breun Golden Pleskian

    29
     
    Joined:
    Jun 28, 2005
    Messages:
    1,647
    Likes Received:
    0
    Plesk regenerates this file on just about every change you make to a domain, so modifying this file won't really work. The change is that you want to set suPHP_Engine off for Horde? Can't you create a separate .conf file in /etc/httpd/conf.d/ to do this? Otherwise you'll need to create a script that makes this change and make sure it is called through Plesk's Event Manager.
     
  3. Amin Taheri

    Amin Taheri Golden Pleskian Plesk Certified Professional

    33
     
    Joined:
    Jul 5, 2007
    Messages:
    1,398
    Likes Received:
    1
    Location:
    Seattle Area
    Ive put custom things like SSL protocol disable, ssl ciphers, etc into /usr/local/psa/admin/conf/httpsd.custom.include - you may be able to use something like that to do what you want.
     
Loading...