ModPagespeed On
ModPagespeedInheritVHostConfig on
ModPagespeedFileCachePath "/var/cache/mod_pagespeed/"
ModPagespeedEnableFilters combine_css,combine_javascript
# Direct Apache to send all HTML output to the mod_pagespeed
# output handler.
AddOutputFilterByType MOD_PAGESPEED_OUTPUT_FILTER text/html
ModPagespeedPreserveUrlRelativity on
NameVirtualHost *:80
<VirtualHost *:80>
ServerName default:80
ServerAdmin ireply@myleisure.com.au
DocumentRoot /var/www/html
</VirtualHost>
<VirtualHost *:80>
ServerName myleisure.com.au
ServerAlias myleisure.com.au
DocumentRoot /var/www/html/myleisure.com.au
Redirect permanent / https://www.myleisure.com.au
ServerAdmin ireply@myleisure.com.au
</VirtualHost>
ModPagespeed on# Attempt to load mod_version if it wasn't loaded or compiled in (eg on Debian)<IfModule !mod_version.c> LoadModule version_module /usr/lib64/httpd/modules/mod_version.so</IfModule>
<IfVersion < 2.4> LoadModule pagespeed_module /usr/lib64/httpd/modules/mod_pagespeed.so</IfVersion><IfVersion >= 2.4.2> # As default pagespeed.conf configuration uses old-style ACLs using # 'allow' and 'deny', we load mod_access_compat in Apache 2.4. If that's a # problem, the blocks using that can be converted to the newer 'Require' # syntax. <IfModule !access_compat_module> LoadModule access_compat_module /usr/lib64/httpd/modules/mod_access_compat.$ </IfModule>
LoadModule pagespeed_module /usr/lib64/httpd/modules/mod_pagespeed_ap24.so</IfVersion>
# Only attempt to load mod_deflate if it hasn't been loaded already.<IfModule !mod_deflate.c> LoadModule deflate_module /usr/lib64/httpd/modules/mod_deflate.so</IfModule><IfModule pagespeed_module> # Turn on mod_pagespeed. To completely disable mod_pagespeed, you # can set this to "off". ModPagespeed on
ModPagespeed OnModPagespeedInheritVHostConfig onModPagespeedFileCachePath "/var/cache/mod_pagespeed/"ModPagespeedEnableFilters combine_css,combine_javascript# Direct Apache to send all HTML output to the mod_pagespeed# output handler.AddOutputFilterByType MOD_PAGESPEED_OUTPUT_FILTER text/htmlModPagespeedPreserveUrlRelativity onModPagespeedFetchHttps enable
ModPagespeedSslCertDirectory /etc/pki/tls/certsModPagespeedSslCertFile /etc/pki/tls/cert.pem
curl -D- 13.54.162.185 | head % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0HTTP/1.1 403 ForbiddenDate: Sun, 29 Jan 2017 03:28:33 GMTServer: Apache/2.4.25 (Amazon) OpenSSL/1.0.1k-fips PHP/5.6.29Last-Modified: Thu, 19 Jan 2017 16:54:10 GMTETag: "131b-5467561d4b080"Accept-Ranges: bytesContent-Length: 4891Content-Type: text/html; charset=UTF-8
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/6a6bd363-70cc-46d9-9097-1de5c03d2ae8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
#ModPagespeed off#ModPagespeedInheritVHostConfig on#ModPagespeedFileCachePath "/var/cache/mod_pagespeed/"
# Image FiltersModPagespeedEnableFilters rewrite_images,insert_image_dimensions,inline_images,$
# CSS FiltersModPagespeedEnableFilters rewrite_css,move_css_above_scripts,combine_css,inline$
# JS FiltersModPagespeedEnableFilters rewrite_javascript,canonicalize_javascript_libraries,$
# Misc FiltersModPagespeedEnableFilters collapse_whitespace,trim_urls,remove_quotes,insert_dn$
# Direct Apache to send all HTML output to the mod_pagespeed# output handler.# AddOutputFilterByType MOD_PAGESPEED_OUTPUT_FILTER text/html# ModPagespeedPreserveUrlRelativity on# ModPagespeedFetchHttps enable
ModPagespeedSslCertDirectory /etc/pki/tls/certsModPagespeedSslCertFile /etc/pki/tls/cert.pem
<VirtualHost *:80>
ServerName default:80 ServerAdmin ire...@myleisure.com.au DocumentRoot /var/www/html
</VirtualHost>
# ModPagespeedMapOriginDomain "http://myleisure.com.au" "https://www.myleisure.$
<VirtualHost *:80>
ServerName myleisure.com.au ServerAlias myleisure.com.au DocumentRoot /var/www/html/myleisure.com.au Redirect permanent / https://www.myleisure.com.au ServerAdmin ire...@myleisure.com.au
<Directory /var/www/html/myleisure.com.au> AllowOverride All </Directory></VirtualHost>
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-discuss+unsub...@googlegroups.com.