1 hour ago, ProAvia said:
Yeah, the rewrite code you show forces any http to automatically become https
Regardless of subdomains, what is the full path to the phpVMS install? And where does the actual virtualair.net domain name point to in the folder structure?
I think most sites with crew center type skins still have the normal installed folder and have /crew within that installed folder (not to be confused with the install folder in the phpVMS folder structure - which you should have deleted after installation). Mine is:
/home/<user>/public_html/<VA_name>/phpvms/<phpvms_installation> And any/all skins (CrewCenter inclued) are in: /home/<user>/public_html/<VA_name>/phpvms/<phpvms_installation>/lib/skins/<all_skins_folders_here>
Could be your folder structure isn’t supposed in any of the ACARS clients
Yes, you should go thru all the files and change any calls mentioning http to https - no need to do the URL’s in the comments sections though. My bet is something is blocking the ACARS clients from accessing the site do to an http call when it should be https.
My directories are located like this:
Main domain directory (virtualair.net):
/home/<user>/public_html/<all files from main domain>
phpVMS installation directory (Subdomain - crew.virtualair.net):
/home/<user>/crew.virtualair.net/<all files from phpvms)
* Example from phpVMS installation: /home/<user>/crew.virtualair.net/lib/skins/<skin_folder>
I know that it is not a domain localization problem, because I created another subdomain from scratch for testing and there ACARS works. This is the subdomain test directory:
/home/<user>/test.virtualair.net
That is, it is the same thing as the crewcenter domain. There, ACARS works perfectly. However, the site is without SSL redirection (which is the code below that I put in .htaccess), but if I add the code, it stops working. So the error is in this redirection.
RewriteEngine On
RewriteCond %{HTTPS} !on
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]