Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

synced web.config content with .htaccess files

  • Loading branch information...
commit 17dd724e034fbf10903e3737495ce1d201deb026 1 parent 4176983
hajo authored
View
5 themes/web.config
@@ -2,5 +2,10 @@
<configuration>
<system.webServer>
<directoryBrowse enabled="false" />
+ <security>
+ <authorization>
+ <add accessType="Deny" users="?" />
+ </authorization>
+ </security>
</system.webServer>
</configuration>
View
5 uploads/cache/web.config
@@ -2,5 +2,10 @@
<configuration>
<system.webServer>
<directoryBrowse enabled="false" />
+ <security>
+ <authorization>
+ <add accessType="Deny" users="?" />
+ </authorization>
+ </security>
</system.webServer>
</configuration>
View
5 uploads/gallery/web.config
@@ -2,5 +2,10 @@
<configuration>
<system.webServer>
<directoryBrowse enabled="false" />
+ <security>
+ <authorization>
+ <add accessType="Deny" users="?" />
+ </authorization>
+ </security>
</system.webServer>
</configuration>
View
5 uploads/logs/actions/web.config
@@ -1,6 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
+ <security>
+ <authorization>
+ <add accessType="Deny" users="*" verbs="GET" />
+ </authorization>
+ </security>
<staticContent>
<mimeMap fileExtension=".log" mimeType="application/octet-stream" />
</staticContent>
View
5 uploads/logs/errors/web.config
@@ -1,6 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
+ <security>
+ <authorization>
+ <add accessType="Deny" users="*" verbs="GET" />
+ </authorization>
+ </security>
<staticContent>
<mimeMap fileExtension=".log" mimeType="application/octet-stream" />
</staticContent>
View
7 uploads/web.config
@@ -2,5 +2,12 @@
<configuration>
<system.webServer>
<directoryBrowse enabled="false" />
+ <security>
+ <requestFiltering>
+ <fileExtensions>
+ <add fileExtension=".php" allowed="false" />
+ </fileExtensions>
+ </requestFiltering>
+ </security>
</system.webServer>
</configuration>
View
1  web.config_example
@@ -3,6 +3,7 @@
<system.webServer>
<defaultDocument>
<files>
+ <remove value="index.php" />
<add value="index.php" />
</files>
</defaultDocument>
Please sign in to comment.
Something went wrong with that request. Please try again.