CoreFiles by mySites.guru
.htaccess34 lines, 616 bytes, from wordpress-4.2.21.zip
Raw History Compare with 4.2.20
md5
d510e02c22cbdaa87747e769bcd916f5
sha1
b8d68b480266fd38daef5f916b490b0360627876
sha256
d13b97f5c7555dc1f322a139a10d00e0183f887f8c25843bb8c54c1e1bb458e5
# Only allow direct access to specific Web-available files.

# Apache 2.2
<IfModule !mod_authz_core.c>
	Order Deny,Allow
	Deny from all
</IfModule>

# Apache 2.4
<IfModule mod_authz_core.c>
	Require all denied
</IfModule>

# Akismet CSS and JS
<FilesMatch "^(form|akismet)\.(css|js)$">
	<IfModule !mod_authz_core.c>
		Allow from all
	</IfModule>
	
	<IfModule mod_authz_core.c>
		Require all granted
	</IfModule>
</FilesMatch>

# Akismet images
<FilesMatch "^(.+)\.(png|gif)$">
	<IfModule !mod_authz_core.c>
		Allow from all
	</IfModule>
	
	<IfModule mod_authz_core.c>
		Require all granted
	</IfModule>
</FilesMatch>

The same content is in 256 releases, WordPress 3.9.10 to 4.5.2. See them all, or every version of this file.