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 Globally enable X-Sendfile?

Discussion in 'Workarounds and Optimization' started by PatrickVeenstra, Oct 16, 2014.

  1. PatrickVeenstra

    PatrickVeenstra Well-Known Member

    Joined:
    Feb 12, 2012
    Messages:
    70
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Barcelona
    cPanel Access Level:
    Root Administrator
    I've included X-Sendfile in my Apache build, but to enable it, it requieres a .htaccess edit: XSendFile On

    What's the best way to activate this globally? That is, in what Apache include should this line be? I suppose in Post VirtualHost, but is that right? Also, is there any reason not to do this?
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,447
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
Loading...

Share This Page