set log file path to /tmp/
handle open local file request when https