Hacking Book | Free Online Hacking Learning

Home

upgrade phpwind to https

Posted by patinella at 2020-04-17
all

Then send it to the server to start SSL, which is simple.

Then, there is garbled code when opening the knife Town. The main problem is that there are errors in loading CSS and JS.

At first, I thought that phpwind had a function to determine whether the website had opened SSL. After a long time, I didn't find the way.

Later, it was found that the loading of CSS and JS was controlled by base href = "$db_bbsurl /" /.

base href="$db_bbsurl/" / base href="$db_bbsurl/" /

And $DB? Bbsurl is controlled by global.php in the root directory.

$db_bbsurl $db_bbsurl

It can also be seen from here that phpwind does not consider SSL.