How To Get a Variable Inside IfModule?
I want Apache to replace *%{HTTP_HOST}*.... can that be done within an IfModule tag?
I am trying to setup Mod_Pagespeed in my .htaccess to work across multiple domains. This .htaccess file will be running on, dev, staging and production servers... each with a different cname (sub domain). We are on apache 2.2, so we cannot run an IfElse statement.
<IfModule pagespeed_module>
ModPagespeed on
ModPagespeedDomain *.example.com
ModPagespeedDomain localhost
ModPagespeedEnableFilters rewrite_domains
ModPagespeedMapRewriteDomain %{HTTP_HOST} images.example.com
</IfModule>