You have no items in your shopping cart.

Sunday, February 23, 2025 1:07:13 AM

How to block PHP requests.

Avatar

Support

Avatar

Posted: 8 years ago

#3101 Quote

Support

Posted: 8 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