• Resolved tcloud

    (@tcloud)


    I finally figured out why filenames containing a comma weren’t being shown. There are two places in the .htaccess file. I don’t understand it very well and would like any suggestion.

    I have commented these lines out, but I’m uncomfortable doing that.

    RedirectMatch 403 \,

    and

    RedirectMatch 403 (\,|\)\+|/\,/|\{0\}|\(/\(|\.\.\.|\+\+\+|\||\\\"\\\")

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, can you share with us which feature you enabled in the plugin that caused the issue you mentioned above?

    Thank you

    Plugin Contributor wpsolutions

    (@wpsolutions)

    Hi
    That’s the 5G rules. Try disabling those rules and use the 6G rules instead. 6G firewall rules are a more evolved and effective set of directives of the two.

    • This reply was modified 7 years, 1 month ago by wpsolutions.
    Thread Starter tcloud

    (@tcloud)

    thanks, I will try that.

    The first string quoted is under the comment. Is it also part of “5G”?:

    #AIOWPS_ADVANCED_CHAR_STRING_FILTER_START
    <IfModule mod_alias.c>
    RedirectMatch 403 \,
    Thread Starter tcloud

    (@tcloud)

    The 6G rules cause the same problem … if I comment out this line, it works:
    RedirectMatch 403 (?i)(~||<|>|:|;|,|%|\|\s|\{|\}|\[|\]|\|)`

    FYI — the files with commas in their names are images.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi @tcloud, you can customize the following Enable 6G Firewall Protection: entries by removing that line and adding the customize code to the following tab Custom Rules.

    Custom Rules tab feature was added by the developers for the following purpose. There are many times where some features will not work 100% correctly unless one line or a few lines are removed from the default code. This seems to be your case when enabling
    Enable 6G Firewall Protection:.

    Let us know if the above helps you and makes sense to you.

    Kind regards

    Thread Starter tcloud

    (@tcloud)

    okay, thanks

    Plugin Contributor mbrsolution

    (@mbrsolution)

    You are most welcome.

    I will mark this support thread as resolved.

    Enjoy the plugin ??

    Kind regards

    Thread Starter tcloud

    (@tcloud)

    I have turned off 5G and 6G both, but the line below keeps reappearing after I comment it out — and it stops files with commas in their names from being served:

    #AIOWPS_ADVANCED_CHAR_STRING_FILTER_START
    <IfModule mod_alias.c>
    RedirectMatch 403 \,

    How do I stop this RedirectMatch line from being included?

    • This reply was modified 7 years ago by tcloud.
    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi @tcloud, you can carry out the same steps I mentioned above regarding the 6G Firewall Protection rules. But this time you are disabling the following feature Enable Advanced Char String Filter. This is located under Additional Firewall Rules.

    Let me know know if you need more help.

    Thank you

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘htaccess rules have blocked filenames containing comma’ is closed to new replies.