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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

suPHP_ConfigPath pattern

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

  1. daniel.rataj

    daniel.rataj Registered

    Nov 10, 2010
    Likes Received:
    Trophy Points:
    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:
    <IfModule mod_suphp.c>
        <Location />
    	suPHP_ConfigPath /home/domain/suphpconfig
    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.



Share This Page