You have no items in your shopping cart.

Saturday, April 27, 2024 12:41:54 AM

How to block PHP requests.

Posted: 7 years ago

#3101 Quote

Support

Posted: 7 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 © 2023 FoxNetSoft. All rights reserved