#Redirecting to SSL using Apache’s htaccess
Just edit the .htacess file and add the below lines.
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ http://www.test.com/$1 [L,R=301]
FROM alpine:3.4 | |
MAINTAINER Ricardson Williams <[email protected]> | |
RUN \ | |
apk add --no-cache \ | |
tar \ | |
which \ | |
bash \ | |
curl \ |
https://www.dropbox.com/sh/yxvt5um437gspr0/AAAwOZ2uh8PD5kNSW3jeOjKEa?dl=0 | |
1 - Baixar/Instalar os 3 arquivos do link acima, seguindo a ordem numérica. | |
2 - Depois executar o aquivo 2 (Blackberry Google ID) e fazer o registro na Play Store. | |
3 - Abra a Play Store e seja feliz! :) |
http://0.0.0.0 | |
fastcgi / 127.0.0.1:9000 php | |
header / -Server | |
gzip | |
root /srv |
Vagrant.configure(2) do |config| | |
config.ssh.insert_key = false | |
config.vm.box = "fedora/23-cloud-base" | |
config.vm.network "forwarded_port", guest: 80, host: 80 | |
config.vm.hostname = "webserver" | |
end |
#Redirecting to SSL using Apache’s htaccess
Just edit the .htacess file and add the below lines.
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ http://www.test.com/$1 [L,R=301]
I hereby claim:
To claim this, I am signing this object:
I'm using Vagrant 1.7.4 on Mac OS X(host)
/opt/vagrant/embedded/gems/gems/vagrant-1.7.4/plugins/guests/linux/cap/change_host_name_.rb
module VagrantPlugins
module GuestLinux
module Cap