[Discuss] Problem converting site from HTTP to HTTPS

scottmarydavidsam at gmail.com scottmarydavidsam at gmail.com
Thu Jan 4 12:37:26 EST 2024


When you use the search box in Windows Explorer (file manager), by default,
it searches the contents of files that it can read, not just the file
names and it does so recursively through the folder tree. It's usually a
pain in the butt because it takes longer than a name search but in this
case it helped find the issue.

I went to the root web site folder, then entered "http:<url>" and the files
popped up. I never would have expected a SQL query to have a static URL but
there it was.

I didn't really want to replace the entries on my Windows box, I just
needed to find them. I then went onto my web server and updated them using
vi.

In answer to your question, I don't believe you can do a global search and
replace on a group of files in Windows (without a third party application)
but I may be wrong.

On Thu, Jan 4, 2024 at 11:19 AM Sid Koul <skoul at nativeplanttrust.org> wrote:

> > ...I'm mostly a Windows support guy...more easily search
> > for the string http: without opening individual files.
>
> For those of us not in the know, how did you do a search and replace on a
> Windows box?
>
>
> On Thu, Jan 4, 2024 at 10:27 AM scottmarydavidsam at gmail.com <
> scottmarydavidsam at gmail.com> wrote:
>
>> I think I found the issue, there are a couple sql queries buried in the
>> CMS
>> folder tree (craft\storage\backups) that needed to be updated. The site
>> seems to be displaying properly now. I'm going to go through the http -
>> https process one more time to make sure I documented everything properly.
>>
>> As an aside, I'm mostly a Windows support guy so I find it easier to work
>> within that environment. I mention that because to find the problem, I
>> copied the entire web site folder tree to a different PC where I was able
>> to more easily search for the string http: without opening individual
>> files. I suspect there are Linux option for that but I had a gun against
>> my
>> head to get this fixed so I had to use what I know and others in my
>> situation may want an option that's easier for them.
>>
>> One last question, I don't see my original messages, does the system send
>> to everyone except the sender?
>>
>> Thanks to everyone who chipped in, you all pointed me in the right
>> direction, that's what makes groups like this work.
>> Scott
>>
>> On Wed, Jan 3, 2024 at 8:53 AM Rich Pieri <richard.pieri at gmail.com>
>> wrote:
>>
>> > On Tue, 2 Jan 2024 19:43:04 -0500
>> > Dan Ritter <dsr at randomstring.org> wrote:
>> >
>> > > - a reference to a CSS file on another machine was changed from
>> > > http to https without checking that it's actually available that
>> > > way
>> >
>> > Or that the CSS files are on the same machine but in a different
>> > location that is not being SSL-wrapped.
>> >
>> > --
>> > \m/ (--) \m/
>> > _______________________________________________
>> > Discuss mailing list
>> > Discuss at lists.blu.org
>> > http://lists.blu.org/mailman/listinfo/discuss
>> >
>> _______________________________________________
>> Discuss mailing list
>> Discuss at lists.blu.org
>> http://lists.blu.org/mailman/listinfo/discuss
>>
>


More information about the Discuss mailing list