SSL/TLS Session Cache Status: cache type: SHMCB, shared memory: 512000 bytes, current entries: 0 subcaches: 32, indexes per subcache: 88 index usage: 0%, cache usage: 0% total entries stored since starting: 0 total entries replaced since starting: 0 total entries expired since starting: 0 total (pre-expiry) entries scrolled out of the cache: 0 total retrieves since starting: 0 hit, 0 miss total removes since starting: 0 hit, 0 miss
SSL/TLS Session Cache Status: cache type: SHMCB, shared memory: 512000 bytes, current entries: 2 subcaches: 32, indexes per subcache: 88 time left on oldest entries' objects: avg: 237 seconds, (range: 217...257) index usage: 0%, cache usage: 0% total entries stored since starting: 2 total entries replaced since starting: 0 total entries expired since starting: 0 total (pre-expiry) entries scrolled out of the cache: 0 total retrieves since starting: 0 hit, 1 miss total removes since starting: 0 hit, 0 miss
● httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled) Active: active (running) since lun. 2020-11-16 09:43:06 CET; 3 months 10 days ago Docs: man:httpd(8) man:apachectl(8) Process: 31746 ExecReload=/usr/sbin/httpd $OPTIONS -k graceful (code=exited, status=0/SUCCESS) Main PID: 1275 (httpd)
[Unit] Description=The Apache HTTP Server After=network.target remote-fs.target nss-lookup.target Documentation=man:httpd(8) Documentation=man:apachectl(8) [Service] Type=notify EnvironmentFile=/etc/sysconfig/httpd ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND ExecReload=/usr/sbin/httpd $OPTIONS -k graceful reload will perform a graceful restart ExecStop=/bin/kill -WINCH ${MAINPID}
<IfModule mod_expires.c> ExpiresActive On ExpiresDefault "access plus 1 month" ExpiresByType text/html "access plus 5 minutes" ExpiresByType text/css "access plus 10 minutes" ExpiresByType image/* "access plus 3 minutes" </IfModule>
<IfModule headers_module>
or <IfModule mod_headers.c>
makes no difference.
<IfModule headers_module> Header set Cache-Control "max-age=123456, public" </IfModule>
It is possible to mimic the ExpiresByType behavior by setting headers based on the file extension. file extension != content-type :
<IfModule mod_headers.c> (other settings) <FilesMatch "\.(jpg|jpeg|png|gif)$"> Header set Cache-Control "max-age=42, public" </FilesMatch> <FilesMatch "\.(js|css)$"> Header set Cache-Control "max-age=96, public" </FilesMatch> </IfModule>
AuthType Basic AuthName "[your prompt here]" AuthUserFile /path/to/.htpasswd Require valid-user
PerlSetVar AuthFile /path/to/.htpasswd AuthName "Explicit Grant Required" AuthType Basic Require valid-user
user1:password1 user2:password2To do so :