Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

https & php

Status
Not open for further replies.

alfalf

Programmer
Joined
Mar 6, 2003
Messages
155
Location
BA
Hello. Again me.

After I installed https server, I tested it additionally on two online PCs (at my friends). On server it works ok. But, situation is:

1. I have an Apache 1.3.27 (W2K) mod_ssl 2.8.11 OpenSSL 0.9.6g PHP 4.2.2 (Apache module) mod_gzip 1.3.19a DAV 1.0 as my server. And an invalid certificate (browser gives warning, and then I accept it, because I use it only for test purposes).

2. I have two test links wich leads to https server on one my test page. One link is simple html link wich leads to betwen <a> tags. The other link, uses redirect.php file. This php file is:
<?php
header (&quot;Location: ?>
And login.htm file and redirect.php file are existing in my servers htdocs folder.

3. On both PCs from wich I was checking my https server, all SSL, TLS, PCT options are checked (via Tools -> Internet Options -> Advanced tab).

4. On both PCs first (simple <a> tag HTML) link to https works fine.

5. Second link works on one PC but on the other i doesn't. It gives a message - HTTP 404 Not Found - 'The page cannot be found'.

What could be the cause? Certificate?

Both PCs don't have firewall, both of them warns about invalid ceritificate (and allow option to accept) to both links.

Thanks for any suggestions.
 
Nope. There's no PHP error. Just normal HTTP 404 Not Found. Anyway thanks for suggestion. I'll just do that. Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top