How to edit httpd properly?

Discussion in 'Apache' started by wibblet, Jul 15, 2009.

  1. #1
    I'm a bit confused on how to edit httpd.conf properly. I finally have full root access and I'm a complete noob but am learning fast. My question is how can I edit the httpd instead of htaccess properly for example:

    in htaccess I have

    <FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$">
    Header set Expires "Thu, 15 Apr 2010 20:00:00 GMT"
    </FilesMatch>

    how can I put that in httpd.conf? Do I just put everything at the bottom? I don't really understand and don't want to experiment since it is the core of apache thanks in advance!
     
    wibblet, Jul 15, 2009 IP
  2. vasyl

    vasyl Peon

    Messages:
    138
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If you're really learning fast - try this guide
     
    vasyl, Jul 16, 2009 IP
  3. wibblet

    wibblet Banned

    Messages:
    617
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thanks finally figured out how to do direct edits and saving them :D
     
    wibblet, Jul 16, 2009 IP