Feb 01, 2015 Tag: WebDev
Quicklinks for the web developer. Just starting! Will be updated as needed.
Updated on Nov 11, 2016
Overview:
A collection of useful .htaccess snippets, all in one place - by Phanan.
Deny access (seen in code of the TYPO3 extension_builder):
# Apache < 2.3
<IfModule !mod_authz_core.c>
Order allow,deny
Deny from all
Satisfy All
</IfModule>
# Apache >= 2.3
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
Force https:
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
What does LiveReload do?
LiveReload monitors changes in the file system. As soon as you save a file, it is preprocessed as needed, and the browser is refreshed. Even cooler, when you change a CSS file or an image, the browser is updated instantly without reloading the page.
‘LiveReload protocol <http://feedback.livereload.com/knowledgebase/articles/86174-livereload-protocol>`__