Jump to content

7G Firewall - tweak(s) required


nbcommunication
 Share

Recommended Posts

Hi,

I added the 7G firewall htaccess rules to a site, and was getting errors in the PW admin as JS files were failing to load.

The culprit is line 85 (v1.2):

RewriteCond %{REQUEST_URI} (/)((php|web)?shell|conf(ig)?|crossdomain|fileditor|locus7|nstview|php(get|remoteview|writer)|r57|remview|sshphp|storm7|webadmin)(.*)(\.|\() [NC,OR]

It is the conf(ig) part that prevents some PW admin JS files from being loaded (e.g. /wire/modules/AdminTheme/AdminThemeUikit/config-field.js). I removed this so the line becomes:

RewriteCond %{REQUEST_URI} (/)((php|web)?shell|crossdomain|fileditor|locus7|nstview|php(get|remoteview|writer)|r57|remview|sshphp|storm7|webadmin)(.*)(\.|\() [NC,OR]

Hopefully this will same some future users of the 7G firewall some time!

If you come across any other issues using 7G with PW, please post them here!

Cheers,

Chris

  • Like 4
Link to comment
Share on other sites

Found another one tonight while testing a sandbox install with a lot of Lorem Ipsum....

Wasn't loading a page with the name 'praesent-vel-quam-porttitor-nulla' because of 'null' being in the name.

Seems a little extreme, or not very well implemented, but I just removed it from the name as it is unlikely that 'null' would appear in a page name.

Worth noting though!

Cheers,

Chris

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...