• Resolved maiden_taiwan

    (@maiden_taiwan)


    BackupWP version 3.3.7 causes this error message repeatedly in the Apache error logs (on Ubuntu 16.04.1):

    <path...>/wordpress/wp-content/plugins/backwpup/.htaccess:
    Require not allowed here, referer: https://mysite.com/wordpress/wp-admin/

    The .htaccess file, which was generated by BackupWP, contains:

    <Files *.php>
        <IfModule mod_authz_core.c>
            Require all denied
        </IfModule>
        <IfModule !mod_authz_core.c>
            Order allow,deny
            Deny from all
        </IfModule>
    </Files>

    Is this a BackupWP bug? What should be done? Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Giuseppe Mazzapica

    (@giuseppemazzapica-1)

    Hi,

    which version of Apache are you using?

    Any chance you know how Apache is configured for the website?

    Thread Starter maiden_taiwan

    (@maiden_taiwan)

    It’s Apache/2.4.18 (Ubuntu).

    The virtual host for this site is configured like this, on top of a stock Ubuntu 16.04 LTS apache2.conf.

    <VirtualHost *:443>                                                                   
        ServerName example.com                                                            
        ServerAdmin admin@example.com                                                     
                                                                                          
        SSLEngine On                                                                      
        SSLCertificateFile /usr/local/etc/ssl/certs/example.com.crt                       
        SSLCertificateKeyFile /usr/local/etc/ssl/private/example.com.key                  
        SSLCACertificateFile /etc/ssl/certs/ca-certificates.crt                           
                                                                                          
        DocumentRoot /var/www/html/example.com/public_html/                               
        ErrorLog /var/www/html/example.com/log/error.log                                  
        CustomLog /var/www/html/example.com/log/access.log combined                       
    </VirtualHost>                                                                        
                                                                                          
    <VirtualHost *:80>                                                                    
        ServerName example.com                                                            
        ServerAlias www.example.com                                                       
        ServerAlias *.example.com                                                         
        ServerAlias example.net                                                           
        ServerAlias *.example.net                                                         
        ServerAlias example.org                                                           
        ServerAlias *.example.org                                                         
        ServerAlias example2.com                                                          
        ServerAlias *.example2.com                                                        
        ServerAlias example2.net                                                          
        ServerAlias *.example2.net                                                        
        ServerAlias example2.org                                                          
        ServerAlias *.example2.org                                                        
                                                                                          
        RedirectPermanent / https://example.com/                                          
    </VirtualHost>                                                                        
                                                                                          
    <VirtualHost *:443>                                                                   
        ServerName www.example.com                                                        
        ServerAlias *.example.com                                                         
        ServerAlias example.net                                                           
        ServerAlias *.example.net                                                         
        ServerAlias example.org                                                           
        ServerAlias *.example.org                                                         
        ServerAlias example2.com                                                          
        ServerAlias *.example2.com                                                        
        ServerAlias example2.net                                                          
        ServerAlias *.example2.net                                                        
        ServerAlias example2.org                                                          
        ServerAlias *.example2.org                                                        
        RedirectPermanent / https://example.com/                                          
    </VirtualHost>                                                                        
                                                                                          
    <Directory "/var/www/html/example.com/public_html">                                   
        AllowOverride FileInfo                                                            
    </Directory>

    @maiden_taiwan, you have to change your VirtualHost, extending the AllowOverride properties to include FileInfo and AuthConfig.

    If we were able to help with our answer, please mark this ticket as resolved. Otherwise, let us know if you need further support and we’ll be happy to help! 🙂

    Thread Starter maiden_taiwan

    (@maiden_taiwan)

    That fixed the problem. Thank you very much.

    Thread Starter maiden_taiwan

    (@maiden_taiwan)

    Details: I simply added “AuthConfig” after the existing “FileInfo”.

    <Directory "/var/www/html/example.com/public_html">                                   
        AllowOverride FileInfo AuthConfig                                                      
    </Directory>

    Great! I’m glad we could help.

    If you are happy with our free plugin and support, please make us happy and take 30 seconds to leave a review. 🙂 We’d really appreciate that!

    Thanks a lot and have a great day!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘.htaccess error: Require not allowed here’ is closed to new replies.