peego Posted June 21, 2004 Posted June 21, 2004 I have my admin section secured with htaccess and also SSL. but when its in SSL mode (HTTPS), I can't download my backup or easypopulate file in the admin section. and when I turn off SSL in configure.php so its (HTTP), the download for backup and easypopulate works fine. Is there a way to be able to download even while in SSL mode? instead of switching to non-SSL when I need to backup?
TomThumb Posted June 21, 2004 Posted June 21, 2004 In backup.php under header('Content-type: application/x-octet-stream'); header('Content-disposition: attachment; filename=' . $backup_file); add if ($request_type== 'NONSSL'){ header("Pragma: no-cache"); } else { header("Pragma: "); } In easypopulate.php replace header("Pragma: no-cache");CODE] with [CODE]if ($request_type== 'NONSSL'){ header("Pragma: no-cache"); } else { header("Pragma: "); } while (!succeed) {try()}; GMT -6:00
Recommended Posts
Archived
This topic is now archived and is closed to further replies.