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.

how to redirect some script if disable from disable_functions?

Discussion in 'Security' started by burgerkill, Nov 23, 2013.

  1. burgerkill

    burgerkill Member

    Joined:
    Nov 14, 2012
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    hello,

    I have configure some server with disable_functions
    and that showing "has been disabled for security reasons"

    my question, how to redirect some "disable script" to other script like disable.html ?
     
  2. MikeDVB

    MikeDVB Well-Known Member
    PartnerNOC

    Joined:
    Jun 4, 2008
    Messages:
    212
    Likes Received:
    3
    Trophy Points:
    18
    Location:
    Indiana, USA
    I don't quite understand your question. disable_functions will only keep certain functions from working. I believe it will throw an error if those functions are used while disabled [i.e. they won't work] but beyond that I don't know of any way to do a redirect based upon this.
     
Loading...

Share This Page