Wordpress has a plugin that does this why can't oxwall?
Rankings now play a big factor in ssl. This needs to be priority. I would stop all productions until this gets added.
RewriteCond %{HTTPS} on
RewriteCond %{REQUEST_URI} /blog
RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [R,L]
Remove or comment out the line 527: $this->httpVsHttpsRedirect();
as this stops htacess from turn ssl on for a page or for turn it off for a page
Oxwall should reflect on this and make this feature more stable.
I shouldn't have to change any settings for https to work. I should have control of that via http.conf virtual host.
All sites that i have on my servers can be http or https withought me having to change anything because I created a virtual host for them all with port 80 and port 443.
if all directory paths in the script just uses some kind of $HOST line and then /directory then this could be easily accomplished. Problem is there is a lot of plugins and core files that doesn't do this and has static http in the script it compiles and cant be changed unless you manually do it.
The easiest solution would be to make a simple switch that will change all links virtually into https without it really modifying anything.
There is a really good dev right now that is working on such a plugin and should be released soon. I can't wait lol :)
I am facing big problems trying to set up my site with https...
is there any news about this dev which was working on that plugin?
There so much things across oxwall platform and base plug-ins and 3rd party plug-ins that it to much for a plug in to fix and the dev will go mad at try keep up when anything is updated
The only way this will be fixed and stay fixed is oxwall fixing there core and plugins and forcing 3rd party dev to fix there plugin
Any plugin will only ever be tem fix and not worth buying
at the begging I wanted of course to force ssl for non-ssl as well but then I hit lots of problems.
now I dropped the idea and I just want to enable ssl for the site and still I can't make it work.
this is a shame and so frustrating.
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://afinitate.ro/$1 [R=302,L]
the ssl works, all you have to do is to switch the http to https in the config.php
not redirect is needed, that was a major disturbance for me and led me to wrong paths and a lot of headache.
but you have to make sure you have this in your site.conf file site-ssl.conf file (apache2 ubuntu 14)
DirectoryIndex index.php index.html index.shtml index.htm default.html Default.htm default.html Default.html default.shtml Default.shtml page1.html index.pl index.cgi index.php3 index.phtml home.htm home.html home.shtml index.wml
Options FollowSymLinks
AllowOverride All
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
AllowOverride All
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
So if you have flash games for example on your site and they link to some server just using http it will change it to https and the game will no longer work. The solution Chase was to just redirect the user to the non ssl site in there own window and it fixes that problem. I have to manually edit all my old games that doesn't support ssl to this new method.
I wish it would force all non ssl links to open in new window and keep it non ssl.
Of course should be final decision, however nobody was saying it when 301 was suggested. A more elegant way is to use 302 while setting it up initially, play with it, test it and then if everything is good and permanency is wanted change it to 302.
thank you for your thought
JoshWho, you are way more advance in this adventure than me. Thanks for sharing all this cause it opens my vision for the future. With all these problems I might have to leave oxwall behind and move onto a different platform.well every one else has left including most of the dev
JoshWho, can you please clarify it for me, do you now have httpVsHttpsRedirect() commented out?the only core function it does is oxwall made the core rewrite urls and shit everywhere in the database as 3 or 4 poofters complain about have none secure content on there sites after switch to https from use http for a long timecause as I can see it that is a core function, without it https would be broken. To comment it out, as far as I understand now it is also a pretty bad peace of advise.
This would be the first step I think.
After that to find the resources which can execute those steps.