Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pb with http and https #26

Closed
vmulot opened this issue Aug 7, 2017 · 4 comments
Closed

Pb with http and https #26

vmulot opened this issue Aug 7, 2017 · 4 comments

Comments

@vmulot
Copy link

vmulot commented Aug 7, 2017

Hello,
I'm running contao 4.3.11 on a shared hosting (OVH), it used to work pretty well, but now i'm having issues.
first, the website was "http", and then we activated the https.
In my htaccess i added these lines in the mod_rewrite section
RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

if i try to go to backoffice with : https://mywebsite.com/contao/ it redirects me to http://mywebsite.com:443/contao/login (and this page isn't working)

due to deadline, i had also to edit the fe_page (and backoffice main page also) and write the base tag instead of the contao one so i can have https, otherwise resources were'nt loaded.
But in BO, all the "lightbox" pages are broken.

i tried to clear cache (with console), to update Contao, ... but still the same.
any clue on what is happening here ? is it a Contao issue or a Server issue ?

Thanks

@fritzmg
Copy link
Contributor

fritzmg commented Aug 7, 2017

Is your setup using an SSL proxy?

Also may be related to contao/core-bundle#895

@vmulot
Copy link
Author

vmulot commented Aug 7, 2017

Thanks for answering,

How can i check that ?

@vmulot
Copy link
Author

vmulot commented Aug 7, 2017

Ok, new info , if i remove $kernel = new ContaoCache($kernel); from web/app.php it works.
so what should i do ? i presume that if i do a composer update, the app.php will be overwritten ?

i tried with contao managed edition 4.4.2, and i still have the same pb, i need to comment this line in web/app.php

@leofeyer
Copy link
Member

leofeyer commented Aug 9, 2017

See contao/core-bundle#895.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants