-
I've had cloudlog hosted nicely for a while as a subdomain (log.g7kse.co.uk) after moving it from my self hosted RPi onto a proper host with a nice vanity domain. Recently I inquired with the host about why it was not working as https but was as fine as http. After about an hour of discussion they effectively walked away whilst mumbling about developers and .htaccess. Rather than throw the remaining teddies out the pram and move it all back to my trusty RPi I thought I'd ask what .htaccess should look like? Is it the done thing to share ones files :-) |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments 11 replies
-
Checked /application/config/config.php and made sure base_url is https? |
Beta Was this translation helpful? Give feedback.
-
Here's the current .htaccess in the root folder
|
Beta Was this translation helpful? Give feedback.
-
Why not take:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?/$1 [L]
?
Am Fr., 3. Dez. 2021 um 12:23 Uhr schrieb Alex Hill <
***@***.***>:
… Here's the current .htaccess in the root folder
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]
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php72” package as the default “PHP” programming language.
<IfModule mime_module>
AddHandler application/x-httpd-ea-php72 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1320 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADKN5ORDJVJAGS3QWR7ST53UPCRRJANCNFSM5JHVSGUA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
--
Amateurfunk ist das, was uns verbindet! Bleiben wir in Kontakt!
Ortsverband Q03, Neunkirchen
|
Beta Was this translation helpful? Give feedback.
-
And can we see whats in config.php remembering to clear out callbook logins. |
Beta Was this translation helpful? Give feedback.
-
The plot is thickening. Right so was all ok with http now, https returns an unformatted (correct phrase?) page. It seems to be fo |
Beta Was this translation helpful? Give feedback.
-
kinda stuck with this one.Safest thing is to re-install locally and work with it that way. Trouble is that it has stopped me logging in now to retrieve latest qso's. May have to delve into that unless there is a way of creating a duplicate local db and working with that. Either way lets marked this as closed and avoid further hours spent on this monkey business :-) |
Beta Was this translation helpful? Give feedback.
-
Here you go. Please don't spend ages on this. The base url has always been https, changing that has no effect.
|
Beta Was this translation helpful? Give feedback.
-
No difference. This is why I am completely convinced that someone at my host has messed up something. I'll just reinstall and that'll be it. Recovery from a backup adif is no big deal. Thanks for taking the time to look though |
Beta Was this translation helpful? Give feedback.
-
Seriously weird, its almost like they are rewriting the URLs before anythings loading if base_urls being overrided |
Beta Was this translation helpful? Give feedback.
-
Just a bit. The answer was to run a recovery and start looking for a new host. There's a reason why they're cheap :-) |
Beta Was this translation helpful? Give feedback.
-
You can host from home on a pi and have a nice name and SSL. Its what I do. No middle men to break it :p |
Beta Was this translation helpful? Give feedback.
Just a bit. The answer was to run a recovery and start looking for a new host. There's a reason why they're cheap :-)