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 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:
    1
    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,279
    Likes Received:
    8
    Trophy Points:
    38
    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:
    1
    i'll give that a try. thanks!
     
  4. gtron

    gtron Member

    Joined:
    Aug 8, 2008
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    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,279
    Likes Received:
    8
    Trophy Points:
    38
    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
     
Loading...

Share This Page