Pergunta

I have a web site that is using Laravel and using Git to push changes from my local laptop to Live (apache) web server. The server runs as a VPS.

I have an issue that seems to be occuring consistently with every other Git push. With web pages that contain forms that require SSL/HTTPS connectivity I have noticed the following:

  • when I push a change via Git, the HTML web page shows as "https" as the form action.
  • when I push the same file via Git again (with trivial change, same code), the HTML web page shows "http" as the form action and a warning is visible using Fire bug as follows: "Password fields present in a form with an insecure (http://) form action.
  • when i push again, the form action is "https" again without the error.
  • I can ftp the file as many times as I like and each time the form action is as expected, i.e. is "https".

I have no idea why this is happening and would be extremely grateful if someone could shed light on the possible cause of this.

Foi útil?

Solução

It was simple in the end. Under storage\views (in the Laravel framework) were old files that just had to be deleted.

It became more obvious when my front page had different text despite the web directory containing the correct file.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top