diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..797f586 --- /dev/null +++ b/.htaccess @@ -0,0 +1,67 @@ + +# REecriture et redirections +RewriteEngine On +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule ^(.*)\.html$ /$1 [L,R=301] + +# LA 404 +ErrorDocument 404 /404.html + +# MOD_DEFLATE COMPRESSION +SetOutputFilter DEFLATE +AddOutputFilterByType DEFLATE text/html text/css text/plain text/xml application/x-javascript application/x-httpd-php +#Pour les navigateurs incompatibles +BrowserMatch ^Mozilla/4 gzip-only-text/html +BrowserMatch ^Mozilla/4\.0[678] no-gzip +BrowserMatch \bMSIE !no-gzip !gzip-only-text/html +BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html +#ne pas mettre en cache si ces fichiers le sont déjà +SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip +#les proxies doivent donner le bon contenu +Header append Vary User-Agent env=!dont-vary + +# BEGIN Expire headers + + ExpiresActive On + ExpiresDefault "access plus 7200 seconds" + ExpiresByType image/jpg "access plus 2592000 seconds" + ExpiresByType image/jpeg "access plus 2592000 seconds" + ExpiresByType text/css "access plus 2592000 seconds" + ExpiresByType text/html "access plus 7200 seconds" + ExpiresByType application/xhtml+xml "access plus 7200 seconds" + ExpiresByType application/javascript A2592000 + ExpiresByType application/x-javascript "access plus 2592000 seconds" + +# END Expire headers + +# BEGIN Cache-Control Headers + + + Header set Cache-Control "max-age=2592000, public" + + + Header set Cache-Control "max-age=2592000, private" + + +Header set Cache-Control "max-age=7200, public" + +# Disable caching for scripts and other dynamic files + +Header unset Cache-Control + + +# END Cache-Control Headers + +# KILL THEM ETAGS +Header unset ETag +FileETag none + +# protect the htaccess file + +order allow,deny +deny from all + + +# protection de la lecture des répertoires + Options -Indexes \ No newline at end of file diff --git a/404.html b/404.html new file mode 100644 index 0000000..1cd4667 --- /dev/null +++ b/404.html @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + Solutions web écologiques - Matt Marcha + + + + + + + +
+

Erreur 404

+
+

404

+
+
+

404

+
+
+ +
+

Il n'y a pas grand chose ici.
On retourne à l'accueil ?

+
+ + + + + \ No newline at end of file diff --git a/images/coverimage.jpg b/images/coverimage.jpg new file mode 100644 index 0000000..c1fd3b0 Binary files /dev/null and b/images/coverimage.jpg differ diff --git a/images/favicon.png b/images/favicon.png deleted file mode 100755 index 2895fa8..0000000 Binary files a/images/favicon.png and /dev/null differ diff --git a/images/favicon.svg b/images/favicon.svg new file mode 100644 index 0000000..62ee788 --- /dev/null +++ b/images/favicon.svg @@ -0,0 +1,141 @@ + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + M + + M + + + diff --git a/index.html b/index.html index a8c6a08..2d85ba7 100755 --- a/index.html +++ b/index.html @@ -1,10 +1,28 @@ - + - - Développeur web écologique à Lyon - + + + + + + + + + + + + + + + + + Solutions web écologiques - Matt Marcha + + + + @@ -24,7 +42,7 @@