https should be fine. I just spent time testing this out on the OpenEMR Appliance which forces https (port 80 is closed) and based on ubuntu server. Calendar working fine. What do you mean by Calendar/Admin; perhaps point me to a specific link and then will see if I get same behavior.
Those links are working ok in the OpenEMR Appliance (on bottom of browser links show up as https also), which also forces ssh. To force it in the appliance I simply firewalled port 80, so user can only get to it via https (did not use mod\_rewrite). How are you forcing it in CentOS? I don’t know much about mod\_rewrite, but perhaps there’s something in the actual openemr link that is throwing off one of your RewriteRules.
If you go to the demo at openemr.org and login, then change the link to https. Then choose some of the buttons. The https seems to stick. Then choose the calendar button and move your mouse over the << and >> on either side of the date. The links lose the https.
As an aside, aslo endure you restarted apache after making the changes.
Very bizarre. On the demo at oemr.org, if I put https: nothing works. This makes sense to me since I’m pretty sure oemr.org firewalls port 443. (I’m assuming your using the demo link at top of xoops site and not the demos in the wiki).
Is your client going through a proxy? Try to connect to it from another computer.
nice catch. please post this in our bug tracker here. should be able to get this in the next 3.1.0 patch. Did the code mod that you linked to work for you?
I will post it. That patch doesn’t work against the latest version of pnAPI.php but I will post a patch that does work. Again, I am not a developer, so there may be a better way. I will give credit to Jeff Ross as well.
Patches posted in the forums don’t work because of spacing and formatting issues. Feel free to make a patch (just include it as attachment file in the bug tracker), although not required since a simple mod. If a patch is a hassle at all, just let me know the modification (and that it worked for you since your the sole tester on this ). I’ll then get it into cvs for the next release and into the next 3.1.0 patch (as an aside, 3.1.0 patches are in the tracker->Patches).
I’m forcing HTTPS via mod_rewrite and never ran into the trouble described above with Firefox or IE. Here’s a copy-and-paste of my Apache2 config section for the rewrite (sourceforge f*cks up the formatting, sorry)
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /home/www/>
Options Indexes FollowSymLinks MultiViews
# for tighter security use the options below instead of above #Options SymLinksIfOwnerMatch MultiViews
AllowOverride None
Order allow,deny
allow from all
# This directive allows us to have apache2’s default start page
# in /apache2-default/, but still have / go to the right place
# RedirectMatch ^/$ /apache2-default/
</Directory>
#########################################
#### XXX: BEGIN EDIT FOR MOD_REWRITE ####
#### This is intended to force HTTPS ####
#### for all inbound HTTP requests ####
####
# This module (mod_rewrite) simply tells Apache2 that all connections to
# port 80 need to go to port 443 - SSL - No exceptions
####
####
# The line below sets the rewrite condition for mod_rewrite.so.
# That is, if the server port does not equal 443, then this condition is true
####
####
# The line below is the rule, it states that if above condition is true,
# and the request can be any url, then redirect everything to https:// plus
# the original url that was requested.
####