#AddHandler application/x-httpd-php56 .php RedirectMatch 301 "^/de/?$" / # output ETags for static files FileETag MTime Size Order allow,deny Deny from all # set up expiration headers # this section should be uncommented on server 1 and server 7 ExpiresActive On ExpiresDefault "now plus 1 week" SetOutputFilter DEFLATE # Netscape 4.x has some problems BrowserMatch ozilla/4 gzip-only-text/html # Netscape 4.06-4.08 have some more problems BrowserMatch ozilla/4\.0[678] no-gzip # MSIE masquerades as Netscape, but it is fine # BrowserMatch \bMSIE !no-gzip !gzip-only-text/html # NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48 # the above regex wont work. You can use the following # workaround to get the desired effect: BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html # Don't compress media SetEnvIfNoCase Request_URI .(?:gif|jpe?g|png|swf|mp3|mp4|flv)$ no-gzip dont-vary # Don't compress zip files SetEnvIfNoCase Request_URI .(?:exe|t?gz|zip|bz2|sit|rar)$ no-gzip dont-vary. # Make sure proxies don't deliver the wrong content Header append Vary User-Agent env=!dont-vary # BEGIN WordPress # Die Anweisungen (Zeilen) zwischen „BEGIN WordPress“ und „END WordPress“ sind # dynamisch generiert und sollten nur über WordPress-Filter geändert werden. # Alle Änderungen an den Anweisungen zwischen diesen Markierungen werden überschrieben. RewriteEngine On RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] # END WordPress ErrorDocument 403 "Forbidden" ErrorDocument 404 "Not Found" #Redirect /fr/blog /fr #SetEnvIf User-Agent Insights is_a_google_insights #AuthUserFile /home/fasoonch/public_html/.htpasswd #AuthGroupFile /dev/null #AuthName "Password protected site" #AuthType Basic #Require valid-user #Satisfy any #Order allow,deny #Allow from env=is_a_google_insights # Wordfence WAF Require all denied Order deny,allow Deny from all # END Wordfence WAF