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.

Edit mod_expires?

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

  1. kernow

    kernow Well-Known Member

    Joined:
    Jul 23, 2004
    Messages:
    865
    Likes Received:
    9
    Trophy Points:
    18
    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?
     
  2. Travis

    Travis Active Member
    Staff Member

    Joined:
    Apr 24, 2002
    Messages:
    28
    Likes Received:
    1
    Trophy Points:
    1
    Location:
    cPanel Main Office
    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:
    865
    Likes Received:
    9
    Trophy Points:
    18
    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?
     
    #3 kernow, Dec 17, 2012
    Last edited: Dec 17, 2012
  4. kernow

    kernow Well-Known Member

    Joined:
    Jul 23, 2004
    Messages:
    865
    Likes Received:
    9
    Trophy Points:
    18
    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!
     
Loading...

Share This Page