<VirtualHost *:80>
    #ServerName 10.250.137.52:80
    ServerName econexpdev1.pearsoncmg.com
    ServerAlias 10.250.137.8
    DocumentRoot /exports/econexpprod1.pearsoncmg.com/htdocs
    DirectoryIndex index.html index.htm default.html default.htm index.php
 
    <Directory "/exports/econexpprod1.pearsoncmg.com/htdocs">
        Options Indexes FollowSymLinks
        AllowOverride All
        Order allow,deny
        Allow from all
        Require all granted
 
        # Limit allowed methods
<LimitExcept GET POST HEAD>
            deny from all
</LimitExcept>
 
        # Set maximum body size
        LimitRequestBody 10485760
 
        # Enable compression
<IfModule mod_mime.c>
            AddType application/x-javascript .js
            AddType text/css .css
</IfModule>
 
        <IfModule mod_deflate.c>
            AddOutputFilterByType DEFLATE text/css application/x-javascript text/x-component text/html text/plain text/xml application/javascript image/jpg image/jpeg image/png image/gif
<IfModule mod_setenvif.c>
                BrowserMatch ^Mozilla/4 gzip-only-text/html
                BrowserMatch ^Mozilla/4.0[678] no-gzip
                BrowserMatch bMSIE !no-gzip !gzip-only-text/html
</IfModule>
</IfModule>
 
        Header append Vary User-Agent env=!dont-vary
 
        # Enable caching
<IfModule mod_expires.c>
            ExpiresActive on
            ExpiresByType image/jpg "modification plus 2 weeks"
            ExpiresByType image/png "modification plus 2 weeks"
            ExpiresByType image/gif "modification plus 2 weeks"
            ExpiresByType image/jpeg "modification plus 2 weeks"
            ExpiresByType text/css "modification plus 2 weeks"
            ExpiresByType image/x-icon "modification plus 2 weeks"
            ExpiresByType application/pdf "modification plus 2 weeks"
            ExpiresByType audio/x-wav "modification plus 2 weeks"
            ExpiresByType audio/mpeg "modification plus 2 weeks"
            ExpiresByType video/mpeg "modification plus 2 weeks"
            ExpiresByType video/mp4 "modification plus 2 weeks"
            ExpiresByType video/quicktime "modification plus 2 weeks"
            ExpiresByType video/x-ms-wmv "modification plus 2 weeks"
            ExpiresByType application/x-shockwave-flash "modification plus 2 weeks"
            ExpiresByType text/javascript "modification plus 2 weeks"
            ExpiresByType application/x-javascript "modification plus 2 weeks"
            ExpiresByType application/javascript "modification plus 2 weeks"
</IfModule>
</Directory>
 
    <Directory "/exports/econexpprod1.pearsoncmg.com/htdocs/*/tmp/">
        Options None
        AllowOverride None
        Order allow,deny
        Deny from all
</Directory>
 
    # PHP handler for .php files
<FilesMatch \.php$>
        SetHandler application/x-httpd-php
</FilesMatch>
 
    ErrorLog ${APACHE_LOG_DIR}/econexpdev1-error.log
    CustomLog ${APACHE_LOG_DIR}/econexpdev1-access.log combined
 
</VirtualHost>
 
<VirtualHost *:443>
    ServerName econexpdev1.pearsoncmg.com
    ServerAlias 10.250.137.8
    DocumentRoot /exports/econexpprod1.pearsoncmg.com/htdocs
    DirectoryIndex index.html index.htm default.html default.htm index.php
 
    <Directory "/exports/econexpprod1.pearsoncmg.com/htdocs">
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted
 
        # Limit allowed methods
<LimitExcept GET POST HEAD>
            deny from all
</LimitExcept>
 
        # Set maximum body size
        LimitRequestBody 10485760
 
        # Enable compression
<IfModule mod_mime.c>
            AddType application/x-javascript .js
            AddType text/css .css
</IfModule>
 
        <IfModule mod_deflate.c>
            AddOutputFilterByType DEFLATE text/css application/x-javascript text/x-component text/html text/plain text/xml application/javascript image/jpg image/jpeg image/png image/gif
<IfModule mod_setenvif.c>
                BrowserMatch ^Mozilla/4 gzip-only-text/html
                BrowserMatch ^Mozilla/4.0[678] no-gzip
                BrowserMatch bMSIE !no-gzip !gzip-only-text/html
</IfModule>
</IfModule>
 
        Header append Vary User-Agent env=!dont-vary
 
        # Enable caching
<IfModule mod_expires.c>
            ExpiresActive on
            ExpiresByType image/jpg "modification plus 2 weeks"
            ExpiresByType image/png "modification plus 2 weeks"
            ExpiresByType image/gif "modification plus 2 weeks"
            ExpiresByType image/jpeg "modification plus 2 weeks"
            ExpiresByType text/css "modification plus 2 weeks"
            ExpiresByType image/x-icon "modification plus 2 weeks"
            ExpiresByType application/pdf "modification plus 2 weeks"
            ExpiresByType audio/x-wav "modification plus 2 weeks"
            ExpiresByType audio/mpeg "modification plus 2 weeks"
            ExpiresByType video/mpeg "modification plus 2 weeks"
            ExpiresByType video/mp4 "modification plus 2 weeks"
            ExpiresByType video/quicktime "modification plus 2 weeks"
            ExpiresByType video/x-ms-wmv "modification plus 2 weeks"
            ExpiresByType application/x-shockwave-flash "modification plus 2 weeks"
            ExpiresByType text/javascript "modification plus 2 weeks"
            ExpiresByType application/x-javascript "modification plus 2 weeks"
            ExpiresByType application/javascript "modification plus 2 weeks"
</IfModule>
</Directory>
 
    <Directory "/exports/econexpprod1.pearsoncmg.com/htdocs/*/tmp/">
        Options None
        AllowOverride None
        Deny from all
</Directory>
 
    # PHP handler for .php files
<FilesMatch \.php$>
        SetHandler application/x-httpd-php
</FilesMatch>
 
    ErrorLog ${APACHE_LOG_DIR}/econexpdev1-ssl-error.log
    CustomLog ${APACHE_LOG_DIR}/econexpdev1-ssl-access.log combined
 
</VirtualHost>