[SOLVED] https access breaks server upload

barrydocks

Joined: 2010-05-21
Posts: 7
Posted: Wed, 2011-07-20 09:33

I managed to configure https access for my gallery by adding the following code to .htaccess in the gallery2 root directory:

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

The only problem is that the server up load feature no longer works, any suggestions?
Thanks

 
barrydocks

Joined: 2010-05-21
Posts: 7
Posted: Wed, 2011-07-20 10:24

It works if you force https via the BaseURI function in the config.php file rather than altering the .htaccess file, as per this post
http://gallery.menalto.com/node/30558