You have no items in your shopping cart.

Saturday, November 23, 2024 6:30:00 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