<VirtualHost 216.139.228.44>
    ServerName        aijazansari.com
    DocumentRoot      "/home/aijaz/aijazansari.com"
    FileEtag          None
    ExpiresActive     On                  
    ExpiresDefault    A3600
    CustomLog        logs/access_log_blog combined
    KeepAlive        On
    ErrorDocument    404 /404.html

    # 1 Week
    <FilesMatch "\.(ico|gif|jpe?g|png|flv|pdf|swf|mov|mp3|wmv|ppt)$">
        ExpiresDefault A604800
        Header append  Cache-Control "public"
    </FilesMatch>

    # 1 Day
    <FilesMatch "\.(xml|txt|html|htm|js|css)$">
        SetOutputFilter DEFLATE
        BrowserMatch    ^Mozilla/4         gzip-only-text/html
        BrowserMatch    ^Mozilla/4\.0[678] no-gzip
        BrowserMatch    \bMSIE            !no-gzip !gzip-only-text/html
        ExpiresDefault  A86400
        Header append   Cache-Control "private, must-revalidate"
    </FilesMatch>

    # Never cache
    <FilesMatch "\.(pl)$">
        ExpiresDefault A0
        Header set     Cache-Control "no-store, no-cache, must-revalidate, max-age=0"
        Header set     Pragma "no-cache"
    </FilesMatch>
</VirtualHost>

<VirtualHost 216.139.228.44>
    ServerName    www.aijazansari.com 
    RedirectMatch (.*) http://aijazansari.com$1 
</VirtualHost> 

