Closed michielbdejong closed 11 years ago
Hi,
This is my first post on github and so my first contribution, I hope this will help you!
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^/(.*) https://unhosted.org/$1 [L,R]
RewriteLog /var/log/apache2/https_rewrite.log
RewriteLogLevel 1
</IfModule>
Sorry for my poor english! Greetings
thanks @Genjo ! :) actually it's hosted on nodejs, not apache, but yeah, that's roughly the sort of thing we need.
i did it with JavaScript redirect in the gh-pages branch in the end, was easier: http://www.unhosted.org/
this subdomain currently still points to gh-pages should update that.