You have no items in your shopping cart.

Monday, December 23, 2024 7:03:35 PM

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