src/mitrobkat/magento/master/hanukkah/.htaccess - Htaccess File

src/mitrobkat/magento/master/hanukkah/.htaccess

RewriteRule ^/site/c.edJRKQNiFiG/b.6750147/$ https://secure1.heifer.org/honduras [NC,L,R=301]
RewriteRule ^/site/c.edJRKQNiFiG/b.6763423/$ https://secure1.heifer.org/dra-workplan-appeal [NC,L,R=301]
RewriteRule ^https://secure.heifer.org/site/c.edJRKQNiFiG/b.6304989/apps/ka/sd/donorcustom.asp$ /starbucks [NC,L,R=301]
RewriteRule ^https://secure.heifer.org/site/c.edJRKQNiFiG/b.6304995/apps/ka/sd/donorcustom.asp$ /green-mountain-coffee [NC,L,R=301]
RewriteRule ^https://secure.heifer.org/site/c.edJRKQNiFiG/b.6292391/apps/ka/sd/donorcustom.asp$ /organic-valley [NC,L,R=301]
RewriteRule ^https://secure.heifer.org/site/c.edJRKQNiFiG/b.6302131/apps/ka/sd/donorcustom.asp$ /elanco [NC,L,R=301]
RewriteRule ^/site/c.edJRKQNiFiG/b.6057771/apps/nl/newsletter2.asp$ https://secure1.heifer.org/fund-a-project [NC,L,R=301]
RewriteRule ^/site/apps/nlnet/content2.aspx?c=edJRKQNiFiG&b=6057771&ct=8408787$ https://secure1.heifer.org/zambia-rural-community-development [NC,L,R=301]
RewriteRule ^/site/apps/nlnet/content2.aspx?c=edJRKQNiFiG&b=6057771&ct=8408761$ https://secure1.heifer.org/uganda-eastern-uganda-umbrella-project [NC,L,R=301]
RewriteRule ^/site/apps/nlnet/content2.aspx?c=edJRKQNiFiG&b=6057771&ct=8404987$ https://secure1.heifer.org/rwanda-sustainable-dairy-enterprise-development-project [NC,L,R=301]
RewriteRule ^/site/apps/nlnet/content2.aspx?c=edJRKQNiFiG&b=6057771&ct=8408723$ https://secure1.heifer.org/sierra-leone-integrated-livestock-development [NC,L,R=301]
RewriteRule ^/site/apps/nlnet/content2.aspx?c=edJRKQNiFiG&b=6057771&ct=8402667$ https://secure1.heifer.org/china-sichuan-earthquake-rebuilding-project [NC,L,R=301]
RewriteRule ^/site/apps/nlnet/content2.aspx?c=edJRKQNiFiG&b=6057771&ct=8408709$ https://secure1.heifer.org/cambodia-women-s-empowerment-and-holistic-community-development [NC,L,R=301]
RewriteRule ^/site/apps/nlnet/content2.aspx?c=edJRKQNiFiG&b=6057771&ct=9309263$ https://secure1.heifer.org/india-sustainable-community-development [NC,L,R=301]
RewriteRule ^/site/apps/nlnet/content2.aspx?c=edJRKQNiFiG&b=6057771&ct=8408541$ https://secure1.heifer.org/laos-promoting-women-s-education-and-self-esteem [NC,L,R=301]
RewriteRule ^/site/apps/nlnet/content2.aspx?c=edJRKQNiFiG&b=6057771&ct=8408505$ https://secure1.heifer.org/thailand-empowering-marginalized-communities [NC,L,R=301]
RewriteRule ^/site/apps/nlnet/content2.aspx?c=edJRKQNiFiG&b=6057771&ct=9332203$ https://secure1.heifer.org/nepal-building-communities-for-holistic-development-2 [NC,L,R=301]
RewriteRule ^/site/apps/nlnet/content2.aspx?c=edJRKQNiFiG&b=6057771&ct=9482529$ https://secure1.heifer.org/honduras-invest-in-honduras-1-500-000-matching-opportunity [NC,L,R=301]
RewriteRule ^/site/apps/nlnet/content2.aspx?c=edJRKQNiFiG&b=6057771&ct=8868131$ https://secure1.heifer.org/peru-building-a-sustainable-way-of-life [NC,L,R=301]
RewriteRule ^/site/apps/nlnet/content2.aspx?c=edJRKQNiFiG&b=6057771&ct=9310135$ https://secure1.heifer.org/oregon-eating-garden-veggies-animal-care-training-and-sharing-eats [NC,L,R=301]
RewriteRule ^/site/apps/nlnet/content2.aspx?c=edJRKQNiFiG&b=6057771&ct=8408029$ https://secure1.heifer.org/poland-agriculture-and-tourism-development-project [NC,L,R=301]
RewriteRule ^/site/apps/nlnet/content2.aspx?c=edJRKQNiFiG&b=6057771&ct=8408015$ https://secure1.heifer.org/romania-carpathian-project [NC,L,R=301]
RewriteRule ^/site/apps/nlnet/content2.aspx?c=edJRKQNiFiG&b=6057771&ct=8405323$ https://secure1.heifer.org/ukraine-carpathian-project [NC,L,R=301]
RewriteRule ^/site/apps/nlnet/content2.aspx?c=edJRKQNiFiG&b=6057771&ct=8408121$ https://secure1.heifer.org/nepal-building-communities-for-holistic-development [NC,L,R=301]
RewriteRule ^/site/c.edJRKQNiFiG/b.204586/$ https://secure1.heifer.org/gift-catalog [NC,L,R=301]
RewriteRule ^/site/c.edJRKQNiFiG/b.2663611$ https://secure1.heifer.org/water-buffalo [NC,L,R=301]
RewriteRule ^/site/c.edJRKQNiFiG/b.6329227$ https://secure1.heifer.org/camel [NC,L,R=301]
RewriteRule ^/site/c.edJRKQNiFiG/b.2529663$ https://secure1.heifer.org/goat [NC,L,R=301]
RewriteRule ^/site/c.edJRKQNiFiG/b.2663295$ https://secure1.heifer.org/heifer [NC,L,R=301]
RewriteRule ^/site/c.edJRKQNiFiG/b.2664289$ https://secure1.heifer.org/llama [NC,L,R=301]
RewriteRule ^/site/c.edJRKQNiFiG/b.2664323/$ https://secure1.heifer.org/rabbits [NC,L,R=301]
RewriteRule ^/site/c.edJRKQNiFiG/b.2664267$ https://secure1.heifer.org/sheep [NC,L,R=301]
RewriteRule ^/site/c.edJRKQNiFiG/b.2668669/$ https://secure1.heifer.org/pig [NC,L,R=301]
RewriteRule ^/site/c.edJRKQNiFiG/b.2698711/$ https://secure1.heifer.org/trees [NC,L,R=301]
RewriteRule ^/site/c.edJRKQNiFiG/b.2699393$ https://secure1.heifer.org/milk-menagerie [NC,L,R=301]
RewriteRule ^/site/c.edJRKQNiFiG/b.2953295/$ https://secure1.heifer.org/joy-to-the-world-collection [NC,L,R=301]
RewriteRule ^/site/c.edJRKQNiFiG/b.6329401/$ https://secure1.heifer.org/cheeses-of-the-world-basket [NC,L,R=301]
RewriteRule ^/site/c.edJRKQNiFiG/b.6329405/$ https://secure1.heifer.org/gardener-s-gift-basket [NC,L,R=301]
RewriteRule ^/site/c.edJRKQNiFiG/b.5689023$ https://secure1.heifer.org/where-most-needed [NC,L,R=301]
RewriteRule ^/site/c.edJRKQNiFiG/b.2698725/$ https://secure1.heifer.org/gift-ark [NC,L,R=301]
RewriteRule ^/site/c.edJRKQNiFiG/b.2668675/$ https://secure1.heifer.org/honeybees [NC,L,R=301]
RewriteRule ^/site/c.edJRKQNiFiG/b.2667525/$ https://secure1.heifer.org/flock-of-chicks [NC,L,R=301]
RewriteRule ^/site/c.edJRKQNiFiG/b.2667667/$ https://secure1.heifer.org/flock-of-ducks [NC,L,R=301]
RewriteRule ^/site/c.edJRKQNiFiG/b.2954695/$ https://secure1.heifer.org/flock-of-hope [NC,L,R=301]
RewriteRule ^/site/c.edJRKQNiFiG/b.6329407/$ https://secure1.heifer.org/knitter-s-gift-basket [NC,L,R=301]
RewriteRule ^/site/c.edJRKQNiFiG/b.2698389/$ https://secure1.heifer.org/hope-gift-basket [NC,L,R=301]
RewriteRule ^/site/c.edJRKQNiFiG/b.2670369$ https://secure1.heifer.org/promise-gift-basket [NC,L,R=301]
RewriteRule ^/site/c.edJRKQNiFiG/b.4447715/$ https://secure1.heifer.org/earth-gift-basket [NC,L,R=301]
RewriteRule ^/site/c.edJRKQNiFiG/b.2951553/$ https://secure1.heifer.org/dream-gift-basket [NC,L,R=301]
RewriteRule ^/site/c.edJRKQNiFiG/b.2699109/$ https://secure1.heifer.org/women-in-livestock-development [NC,L,R=301]
RewriteRule ^/site/c.edJRKQNiFiG/b.2668681/$ https://secure1.heifer.org/new-beginnings-gift-basket [NC,L,R=301]
RewriteRule ^/site/c.edJRKQNiFiG/b.2667713/$ https://secure1.heifer.org/flock-of-geese [NC,L,R=301]
RewriteRule ^https://secure.heifer.org/site/c.edJRKQNiFiG/b.5069067/apps/ka/sd/donorcustom.asp$ /where-most-needed-donation [NC,L,R=301]

############################################
## uncomment these lines for CGI mode
## make sure to specify the correct cgi php binary file name
## it might be /cgi-bin/php-cgi

#    Action php5-cgi /cgi-bin/php5-cgi
#    AddHandler php5-cgi .php

############################################
## GoDaddy specific options

#   Options -MultiViews

## you might also need to add this line to php.ini
##     cgi.fix_pathinfo = 1
## if it still doesn't work, rename php.ini to php5.ini

############################################
## this line is specific for 1and1 hosting

    #AddType x-mapp-php5 .php
    #AddHandler x-mapp-php5 .php

############################################
## default index file
  #AddType application/x-httpd-php .html .htm .xml .js .php
    DirectoryIndex index.php

<IfModule mod_php5.c>

############################################
## adjust memory limit

#    php_value memory_limit 64M
    php_value memory_limit 256M
    php_value max_execution_time 18000

############################################
## disable magic quotes for php request vars

    php_flag magic_quotes_gpc off

############################################
## disable automatic session start
## before autoload was initialized

    php_flag session.auto_start off

############################################
## enable resulting html compression

    php_flag zlib.output_compression on

###########################################
# disable user agent verification to not break multiple image upload

    php_flag suhosin.session.cryptua off

###########################################
# turn off compatibility with PHP4 when dealing with objects

    php_flag zend.ze1_compatibility_mode Off

</IfModule>

<IfModule mod_security.c>
###########################################
# disable POST processing to not break multiple image upload

    SecFilterEngine Off
    SecFilterScanPOST Off
</IfModule>

<IfModule mod_deflate.c>

############################################
## enable apache served files compression
## http://developer.yahoo.com/performance/rules.html#gzip

    # Insert filter on all content
    SetOutputFilter DEFLATE
    # Insert filter on selected content types only
    #AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript

    # Netscape 4.x has some problems...
    BrowserMatch ^Mozilla/4 gzip-only-text/html

    # Netscape 4.06-4.08 have some more problems
    BrowserMatch ^Mozilla/4.0[678] no-gzip

    # MSIE masquerades as Netscape, but it is fine
    BrowserMatch bMSIE !no-gzip !gzip-only-text/html

    # Don't compress images
    #SetEnvIfNoCase Request_URI .(?:gif|jpe?g|png)$ no-gzip dont-vary

    # Make sure proxies don't deliver the wrong content
    #Header append Vary User-Agent env=!dont-vary

</IfModule>

<IfModule mod_ssl.c>

############################################
## make HTTPS env vars available for CGI mode

    SSLOptions StdEnvVars

</IfModule>

<IfModule mod_rewrite.c>

############################################
## enable rewrites

    Options +FollowSymLinks
    RewriteEngine on

############################################
## you can put here your magento root folder
## path relative to web root

    #RewriteBase /magento/
    RewriteBase /hanukkah/

  RewriteCond %{HTTP_HOST} secure1.heifer.org
  #RewriteRule ^ - [E=MAGE_RUN_CODE:default]

  RewriteCond %{HTTP_HOST} secure2.heifer.org
  #RewriteRule ^ - [E=MAGE_RUN_CODE:secure2]
  
  RewriteCond %{HTTP_HOST} secure3.heifer.org
  #RewriteRule ^ - [E=MAGE_RUN_CODE:secure3]

############################################
## workaround for HTTP authorization
## in CGI environment

    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

############################################
## always send 404 on missing files in these folders

    RewriteCond %{REQUEST_URI} !^/(media|skin|js)/

############################################
## never rewrite for existing files, directories and links

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-l
    RewriteCond %{QUERY_STRING} ^(.*)$

############################################
## rewrite everything else to index.php

    RewriteRule .* index.php/$1 [L,QSA]

############################################
## force HTTPS to non api pages and allow
## api to serve from http

#  RewriteCond %{HTTPS} off 
#  RewriteCond %{REQUEST_URI} !^/(api.php|index.php/api/xmlrpc) [NC]
#  RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R]

</IfModule>

############################################
## Prevent character encoding issues from server overrides
## If you still have problems, use the second line instead

    AddDefaultCharset Off
    #AddDefaultCharset UTF-8

<IfModule mod_expires.c>

############################################
## Add default Expires header
## http://developer.yahoo.com/performance/rules.html#expires

    ExpiresDefault "access plus 1 year"
    ExpiresByType application/javascript A900
    ExpiresByType application/x-javascript A900
    ExpiresByType text/javascript A900
    ExpiresByType text/html A90
    ExpiresByType text/xml A90
    ExpiresByType text/css A900
    ExpiresByType text/plain A62
    ExpiresByType image/gif A14400
    ExpiresByType image/jpg A14400
    ExpiresByType image/jpeg A14400
    ExpiresByType image/png A14400
    ExpiresByType image/bmp A14400
    ExpiresByType application/x-shockwave-flash A3600

</IfModule>

############################################
## By default allow all access

    Order allow,deny
    Allow from all

###########################################
## Deny access to release notes to prevent disclosure of the installed Magento version

    <Files RELEASE_NOTES.txt>
        order allow,deny
        deny from all
    </Files>

############################################
## If running in cluster environment, uncomment this
## http://developer.yahoo.com/performance/rules.html#etags

    #FileETag none
 
<FilesMatch ".(html|htm|js|css|php|png|gif|jpg|JPG|jpeg|GIF)$">
Header set Cache-Control "max-age=2592000"
Header set Expires "Wed, 01 Jan 2020 00:00:00 GMT"
</FilesMatch>

BrowserMatch MSIE best-standards-support
Header set X-UA-Compatible IE=8 env=best-standards-support

On Github License

Files

Download PDF of Htaccess file
DEFLATE, HTTP_HOST, HTTPS, no-gzip, POST, QUERY_STRING, REQUEST_FILENAME, REQUEST_URI

Comments

Apache