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!

Edit mod_expires?

Discussion in 'General Discussion' started by kernow, Dec 17, 2012.

  1. kernow

    kernow Well-Known Member

    Joined:
    Jul 23, 2004
    Messages:
    931
    Likes Received:
    17
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    Is there a mod_expires config file somewhere or does it need to be created? if created where to put it for all users?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Travis

    Travis Active Member

    Joined:
    Apr 24, 2002
    Messages:
    31
    Likes Received:
    3
    Trophy Points:
    383
    cPanel Access Level:
    Root Administrator
    Here is a good place to get started on this information: mod_expires - Apache HTTP Server
     
  3. kernow

    kernow Well-Known Member

    Joined:
    Jul 23, 2004
    Messages:
    931
    Likes Received:
    17
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    Am aware of that info, thanks. But that link along with the file mod_expires.c just say that Directives can appear in configuration files or in .htaccess files. My question is, Is there a default mod_expires config file somewhere or does it need to be created? if created where to put it for all users? Would creating mod_expires.conf and putting it in /usr/local/apache/conf/userdata/ work ?
    Or should the directives be added to the Apache pre main include file?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #3 kernow, Dec 17, 2012
    Last edited: Dec 17, 2012
  4. kernow

    kernow Well-Known Member

    Joined:
    Jul 23, 2004
    Messages:
    931
    Likes Received:
    17
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    OK, will answer this myself, if I were you kernow, I would add your directives to the Apache pre main include file.
    Thanks kernow, how clever you are!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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