HTTPS for testlink

664 views
Skip to first unread message

Sarah Baker

unread,
Nov 17, 2008, 8:07:00 PM11/17/08
to testlink-users
I've setup a virtualhost for https to testlink and
I could get to the install/index.php and see the resulting page,
but because I had an existing mysql installation I did the manual
install to setup the database.
The instructions seemed fine and all appeared good until...
Now when I attempt https://<domain>/testlink/
to attempt a login, I don't get the login screen at all, I get a 404
for
http://<domain>/testlink/login.php?note=expired
I can get to the help pages fine with
https://testlink.veracartacorp.com/testlink/gui/help/en_US/content.html

Why is it returning an http reference and what's the problem?
I am not familiar with php, just a general IT person but I'd guess
somehow
it's not picking up it's an https site...
I couldn't tell anything in the config.inc.php that gave me any
clues...

FYI my php version is 5.1.6 on CentOS 5 platform running apache 2.2.3
-Sarah

Auro Florentino

unread,
Nov 17, 2008, 9:40:04 PM11/17/08
to testlink-users
Hi Sarah,

Try to hardcode your full url on the $t_url var, in lib/functions/
configCheck.php,

ex:
$t_url = 'https://testlink.veracartacorp.com/testlink/';

Good luck!

Auro

On 17 nov, 23:07, Sarah Baker <saba...@gmail.com> wrote:
> I've setup a virtualhost for https to testlink and
> I could get to the install/index.php and see the resulting page,
> but because I had an existing mysql installation I did the manual
> install to setup the database.
> The instructions seemed fine and all appeared good until...
> Now when I attempt https://<domain>/testlink/
> to attempt a login,  I don't get the login screen at all, I get a 404
> for
> http://<domain>/testlink/login.php?note=expired
> I can get to the help pages fine withhttps://testlink.veracartacorp.com/testlink/gui/help/en_US/content.html

Sarah Baker

unread,
Nov 18, 2008, 12:54:52 PM11/18/08
to testlin...@googlegroups.com
Well, that seems to help, I'm not getting 404 errors now, but I'm not seeing much else either.
I'm starting to wonder if the manual install pieces didn't go as well as I thought
or if I have some other related or underlying issue.
I don't see the login screen.

So now if I  go to https://testlink.veracartacorp.com/testlink/
the resulting page is
https://testlink.veracartacorp.com/testlink/login.php?note=expired
and the page is empty.
The httpd logs don't seem to have any complaints in them...
I've verified other aspects are still working - like static pages, etc.

Where might I find a clue? error messages or logs?
-Sarah

Auro Florentino

unread,
Nov 18, 2008, 1:23:57 PM11/18/08
to testlink-users
Did you look for php errors? It looks like some pre-req failure.

You could try to make a fresh install, then change $t_url to see if it
helps.

Keep in touch.

[]s

Auro

On 18 nov, 15:54, Sarah Baker <saba...@gmail.com> wrote:
> Well, that seems to help, I'm not getting 404 errors now, but I'm not seeing much else either.
> I'm starting to wonder if the manual install pieces didn't go as well as I thought
> or if I have some other related or underlying issue.
> I don't see the login screen.
> So now if I  go tohttps://testlink.veracartacorp.com/testlink/
> the resulting page ishttps://testlink.veracartacorp.com/testlink/login.php?note=expired
> and the page is empty.
> The httpd logs don't seem to have any complaints in them...
> I've verified other aspects are still working - like static pages, etc.
> Where might I find a clue? error messages or logs?
> -Sarah
> Auro Florentino wrote:Hi Sarah, Try to hardcode your full url on the $t_url var, in lib/functions/ configCheck.php, ex: $t_url = 'https://testlink.veracartacorp.com/testlink/'; Good luck! Auro On 17 nov, 23:07, Sarah Baker<saba...@gmail.com>wrote:I've setup a virtualhost for https to testlink and I could get to the install/index.php and see the resulting page, but because I had an existing mysql installation I did the manual install to setup the database. The instructions seemed fine and all appeared good until... Now when I attempthttps://<domain>/testlink/ to attempt a login,  I don't get the login screen at all, I get a 404 forhttp://<domain>/testlink/login.php?note=expired I can get to the help pages fine withhttps://testlink.veracartacorp.com/testlink/gui/help/en_US/content.html Why is it returning an http reference and what's the problem? I am not familiar with php, just a general IT person but I'd guess somehow it's not picking up it's an https site... I couldn't tell anything in the config.inc.php  that gave me any clues... FYI my php version is 5.1.6 on CentOS 5 platform running apache 2.2.3 -Sarah

Sarah Baker

unread,
Nov 18, 2008, 1:25:40 PM11/18/08
to testlin...@googlegroups.com
Sorry to be so dense - where do I look for php errors?

Auro Florentino

unread,
Nov 18, 2008, 1:35:49 PM11/18/08
to testlink-users
Dense? You didn't see anything yet :)

It will depends of your webserver.

Can be in apache logs, or even in the browser screen.

You can try to put these on configCheck.php:

error_reporting(E_ALL);

ini_set("display_errors", 1);

http://br2.php.net/error_reporting

Good luck!
Reply all
Reply to author
Forward
0 new messages