[resolved] BACKUPWORDPRESS Can't download backup file (6 posts)

  1. beeeerock
    Posted 3 years ago #

    Using version 1.6.3. Backup appears to be created correctly. Attempting to 'download' the backup from the Manage Backups page fails with the very descriptive:

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    Looking in the error log I see:

    [Mon Jan 09 12:16:30 2012] [alert] [client] /var/www/anotherdirectory/wordpress/wp-content/backups/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration, referer: http://www.nanson.org/wordpress/wp-admin/tools.php?page=backupwordpress

    The .htaccess file referenced has this in it:

    # BEGIN BackUpWordPress
    # This .htaccess file ensures that other people cannot download your backup files.

    RewriteEngine On
    RewriteCond %{QUERY_STRING} !key=keystuffIwontincludehere
    RewriteRule (.*) - [F]

    # END BackUpWordPress

    Any idea what I need to tweak?

  2. Tom Willmot
    Human Made
    Posted 3 years ago #

    It looks like you don't have mod_rewrite support installed, the next version will correctly detect this.

  3. beeeerock
    Posted 3 years ago #

    Thanks, that was the clue I needed. For those behind me, enable the rewrite.load file in the apache2/mods-available directory. I used 'a2enmod rewrite' in Ubuntu, then restarted apache2. Backup file downloading now.

  4. Tom Willmot
    Human Made
    Posted 3 years ago #

    I've improved this in 1.6.4 so that not having mod_rewrite won't result in a 500 error.

  5. erinstabile
    Posted 3 years ago #

    i get this message when i try and download the backup file.

    You don't have permission to access /wp-content/backups/life.backup.2012-02-10-11-41-45.zip on this server.


    IBM_HTTP_Server/ Apache/2.0.47 (Win32) PHP/5.2.12 Server at http://www.homwellness.com Port 80

    Why wont it let me download the backup?? i need to backup before i can update my plugins. Please help.

  6. Tom Willmot
    Human Made
    Posted 3 years ago #

    If you can't download the backup through the web interface you can always download it over FTP.

Topic Closed

This topic has been closed to new replies.

About this Topic