Adding a far future 'Expires' Header

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Adding a far future 'Expires' Header

Postby smokinguns » 10. June 2009 16:56

Hey all,
Im want to add the Expires HTTP header for image and css files. This is the syntax:
Code: Select all
ExpiresActive On                  # enable expirations
ExpiresByType image/gif A2592000  # expire GIF images after a month


Where do I add these lines in the httpd.conf file? Can I just paste these two lines anywhere? Is there way I can make these changes applicable to a particular site ?

Thanks
smokinguns
 
Posts: 2
Joined: 10. June 2009 16:44

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 131 guests