eladkarako/hosts.eladkarako.com/master/.htaccess - Htaccess File

eladkarako/hosts.eladkarako.com/master/.htaccess

### the content of this file can be publicly available, there is nothing secret in this .htaccess, and all the files are available anyway in: https://github.com/eladkarako/hosts.eladkarako.com/ happy browsing :] ##

#"Etc/UTC" === "Etc/Universal" === "Universal" === "UTC".
SetEnv TZ UTC

<IfModule mod_headers.c>
  Header set Link "<http://hosts.eladkarako.com/favicon.ico>; REL="ICON", <http://hosts.eladkarako.com/favicon.ico>; REL="SHORTCUT ICON", <http://hosts.eladkarako.com/humans.txt>; REL="AUTHOR""
</IfModule>

<IfModule mod_rewrite.c>
  RewriteEngine On

#option #0 - make sure root is redirected properly.
  RewriteBase "/"
  RewriteRule ^$ build/index.html [L,NC,QSA]

#option #1 - files at ./build/ folder.
  RewriteBase "/"
  RewriteRule ^(hosts.txt|hosts.txt.lastmodtime|hosts.txt.md5|hosts.txt.sha1|hosts_adblock.txt|hosts_adblock.txt.lastmodtime|hosts_adblock.txt.md5|hosts_adblock.txt.sha1|hosts_adblock_anti_annoyances.txt|hosts_adblock_anti_annoyances.txt.lastmodtime|hosts_adblock_anti_annoyances.txt.md5|hosts_adblock_anti_annoyances.txt.sha1|hosts_adblock_hiderules_href.txt|hosts_adblock_hiderules_href.txt.lastmodtime|hosts_adblock_hiderules_href.txt.md5|hosts_adblock_hiderules_href.txt.sha1|hosts_adblock_hiderules_onmousedown.txt|hosts_adblock_hiderules_onmousedown.txt.lastmodtime|hosts_adblock_hiderules_onmousedown.txt.md5|hosts_adblock_hiderules_onmousedown.txt.sha1|hosts_adblock_hiderules_src.txt|hosts_adblock_hiderules_src.txt.lastmodtime|hosts_adblock_hiderules_src.txt.md5|hosts_adblock_hiderules_src.txt.sha1|hosts0.txt|hosts0.txt.lastmodtime|hosts0.txt.md5|hosts0.txt.sha1|index.html|index.html.lastmodtime|index.html.md5|index.html.sha1|page_resources.json)$ build/$1 [L,NC,QSA]

#option #2 - files at ./resources/ folder.
  RewriteBase "/"
  RewriteRule ^(_raw__css.css|_raw__index.html|_raw__script1.js|_raw__script2.js|BingSiteAuth.xml|favicon.ico|google01a0336ba46c6568.html|humans.txt|mywot932a4ba9fa8e5080c0f1.html|nortonsw_98c8be90-4603-0.html|sitemap.xml)$ resources/$1 [L,NC,QSA]
</IfModule>

On Github License

Files

Download PDF of Htaccess file

Comments

Apache