[wp-trac] [WordPress Trac] #50590: .htaccess deny from all auto-blocker if plugin got deactivated + WordPress internal firewall

WordPress Trac noreply at wordpress.org
Tue Jul 7 12:11:38 UTC 2020


#50590: .htaccess deny from all auto-blocker if plugin got deactivated + WordPress
internal firewall
-----------------------------+-------------------------------
 Reporter:  KestutisIT       |       Owner:  (none)
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Security         |     Version:  5.4.2
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:  coding-standards
-----------------------------+-------------------------------

Comment (by KestutisIT):

 Replying to [comment:1 carike]:
 > :wave:
 > That could probably work with very low "investment" (time) required, but
 that would only cover Apache users, correct?
 > Windows servers allow for a similar file, so that *should be possible
 too.
 > What about Nginx servers?

 There is Apache to NGIX converter. Maybe there has to be IF/ELSE case. In
 case A - .htaccess file is created, on case B - NGIX directive has been
 created.

 There is Apache's .htaccess to NGIX directives converer:
 https://winginx.com/en/htaccess#:~:text=About%20the%20htaccess%20to%20nginx,ported%20from%20Apache%20to%20nginx.
 It gives 'deny all' directive for NGIX.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50590#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list