logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Lastmodified or ETAG headers on website hosted via apache2.4
Author
ash2986



Joined: 18 Dec 2014
Posts: 1
Location: India

PostPosted: Thu 18 Dec '14 16:24    Post subject: Lastmodified or ETAG headers on website hosted via apache2.4 Reply with quote

I have compiled apache with below configuration

./configure --prefix=/app/apache2_4 --with-apr=/app/apache2_4/apr --with-apr-util=/app/apache2_4/apr-util --with-pcre=/app/apache2_4/pcre/ --enable-ssl --with-ssl=/usr/bin/openssl --enable-modules=all --enable-mods-shared=all --enable-proxy --enable-mime-magic --enable-rewrite --enable-speling--enable-mpms-shared

But after compilation I have added expiry,deflate headers but I am not able to see either ETAG and LAst-modified header .Did someone face such kind of issue.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Thu 18 Dec '14 17:03    Post subject: Reply with quote

For getting an ETAG I use this config.

if there is in your config
Code:
FileEtag All

change it to (if not present add)

Code:
FileETag MTime Size


also add

Code:

ExpiresActive On
ExpiresByType image/gif A2592000
ExpiresByType image/jpeg A2592000
ExpiresByType text/css A2592000
ExpiresByType image/png A2592000
ExpiresByType text/javascript A2592000
ExpiresByType image/icon A2592000
ExpiresByType application/javascript A604800
ExpiresByType image/x-icon A2592000
Back to top


Reply to topic   Topic: Lastmodified or ETAG headers on website hosted via apache2.4 View previous topic :: View next topic
Post new topic   Forum Index -> Apache