Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

suPHP_ConfigPath pattern

Discussion in 'Security' started by daniel.rataj, Nov 10, 2010.

  1. daniel.rataj

    daniel.rataj Registered

    Joined:
    Nov 10, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    51
    Hello I've a little issue with pattern of suPHP_ConfigPath directive.

    My situation:
    I have a subdomain (outside of "public_html" directory) that requires a different "magic_quotes_gpc" directive then the rest of my web.

    I already set the path in suPHP_ConfigPath to /home/domain/suphpconfig directory in my *.conf file:
    Code:
    <IfModule mod_suphp.c>
        <Location />
    	suPHP_ConfigPath /home/domain/suphpconfig
        </Location>
    </IfModule>
    
    But now I don't know how to set the different "magic_quotes_gpc" settings to main subdomain which is located in /home/domain/subdomains/live/public_html dir.

    So I need a different php.ini file for the subdomain but I can't do that when the suPHP_ConfigPath is set.

    Thank you for any ideas.

    Bye.

    Daniel
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice