You have no items in your shopping cart.

Thursday, June 17, 2021 9:11:35 PM

How to block PHP requests.

Avatar

Posted: 4 years ago

#3101 Quote

Support

Posted: 4 years ago

#3101 Quote
If you have rewrite section add new rule.
Be careful and backup old web.config.


        <rewrite>
            <rules>
                <clear />
            <rule name="BlockPHPfiles" patternSyntax="Wildcard">
                <match url="*" />
                <conditions>
                    <add input="{URL}" pattern="*.php*" />
                </conditions>
                <action type="AbortRequest" />
            </rule>
            </rules>
        </rewrite>

Powered by nopCommerce

Copyright © 2019 FoxNetSoft. All rights reserved