I'm using restler to write a REST api, and since I wan't to do some basic authentication I need to redirect every request wich doesn't come from https, to https.
Does anybody know a way of doing this using the .htaccess file provided by restler or is it better to do this redirection using php headers?
Thanks in advance!