Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-03-17 14:09:00

Mystique
New Member
Registered: 2007-03-17
Posts: 1

serve textpattern completely over https insted of http and clean urls.

Hello,

I feel like I am all alone in this endeavor..

We want to try set setup a txp blog over an ssl connection with clean urls.

I have tried defining PROTOCOL to be HTTPS in textpattern/index.php and that did not seem to help.

I tried changing the hu definition for the $siteurl and that did not work either..

so I’m stumped.. how do I do it?

Thanks in advance.

I did find this:
http://dev.textpattern.com/changeset/1765

and it suggested that I add this: define(‘PROTOCOL’,‘https://’);

which I did to textpattern/index.php and it did not do what I was expecting it to.

Last edited by Mystique (2007-03-17 14:18:58)

Offline

#2 2007-03-18 09:31:55

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: serve textpattern completely over https insted of http and clean urls.

That constant is only used when generating links (i.e., it makes it possible to consistently stay on an https-site, if the webserver is configured properly).
It has nothing to do with whether your webserver makes available content via http and/or https. The latter is a configuration issue of your webserver. If you want to, for example, redirect all requests to http:// urls to https://-urls, you have to tell the webserver to do so (though you could also write a 2-3 lines php-plugin to do so, it makes much more sense to do this on the webserver level).

If you need specific help, you need to ask specific questions.

that did not seem to help.
that did not work either.
it did not do what I was expecting it to

does not provide any information. YOu need to say what pecifically you expect, and what it is you are seeing.

Offline

Board footer

Powered by FluxBB