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!

how to add <LimitExcept GET POST> to all VH??

Discussion in 'General Discussion' started by gtron, Feb 10, 2009.

  1. gtron

    gtron Member

    Joined:
    Aug 8, 2008
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    51
    how would i add the following to all existing virtual hosts and automaticly add it to any new hosts?

    <LimitExcept GET POST>
    Order deny,allow
    Deny from all
    </LimitExcept>

    thanks in advance for your replies!
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,216
    Likes Received:
    10
    Trophy Points:
    313
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    You may want to place those contents within:

    /usr/local/apache/conf/userdata/<something>.conf

    where <something> is any arbitrary filename, as described in the EA3 documentation at: http://www.cpanel.net/support/docs/ea/ea3/customdirectives.html
     
  3. gtron

    gtron Member

    Joined:
    Aug 8, 2008
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    51
    i'll give that a try. thanks!
     
  4. gtron

    gtron Member

    Joined:
    Aug 8, 2008
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    51
    yea, i get the same thing... 'order not allowed here'

    anything other ideas? thanks again.
     
  5. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,216
    Likes Received:
    10
    Trophy Points:
    313
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    I recommend letting our technical analysts assist you as they'll be able to look at what you have thus far, what you're attempting to accomplish and assist you with doing that in a cPanel/WHM environment. You can contact them via: http://tickets.cPanel.net/submit
     

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