Install Config Wiki

All about installing, configuring and troubleshooting

User Tools

Site Tools


wiki:directory_access_security_in_iis
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


Previous revision
wiki:directory_access_security_in_iis [2017/10/28 19:03] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +===== Add a web.config file to the root of your DokuWiki website =====
  
 +Add a web.config file to the root of your DokuWiki website to block web access to these directories:  /data/, /conf/, /bin/, and /inc/.
 +
 +<file xml web.config>
 +<?xml version="1.0" encoding="UTF-8"?>
 +<configuration>
 +    <system.webServer>
 +        <security>
 +            <requestFiltering>
 +                <filteringRules>
 +                </filteringRules>
 +                <denyUrlSequences>
 +                    <add sequence="/data/" />
 +                    <add sequence="/conf/" />
 +                    <add sequence="/bin/" />
 +                    <add sequence="/inc/" />
 +                </denyUrlSequences>
 +            </requestFiltering>
 +        </security>
 +    </system.webServer>
 +</configuration>
 +</file>
wiki/directory_access_security_in_iis.txt · Last modified: 2017/10/28 19:03 by 127.0.0.1