Projects ⇒ Bugs ⇒ #455: Still can't install using HTTPS protocol ⇒ CPG Dragonfly™ CMS
Bug #455 Still can't install using HTTPS protocol
Project: Dragonfly 9.0.3 -> 9.3 Category: *CPG Core Issues
Submitted: Saturday, April 16, 2005 (20:07:57) Modified: Friday, April 22, 2005 (11:36:54)
Status: Closed Assigned to:
PHP Version: 4.3.10 HTTPD Server: Apache 2.0
Votes: 2
Vote results:
Avg. Score: 3.0 ± 0.0 Reproduced: 0 of 0 (0.0%)

View/Vote Add Comment

by: Brennor
Description:
------------
The install still fails if an install is attempted using HTTPS instead of HTTP protocol.


html/install.php (rev 9.9) change line 119 to:
if (!(ereg("(http://$_SERVER[HTTP_HOST])", $_SERVER['HTTP_REFERER']) || ereg("(https://$_SERVER[HTTP_HOST])", $_SERVER['HTTP_REFERER']))) {
by: xfsunoles
one problem of your code that if webmaster want to access install under http:// get an Error saying you can't access the file directory.
by: Brennor
Hrmm... strange. It seems to work.

Maybe I copied it here incorrectly. The code above should check to see if it is EITHER a http OR a https access from the same server. If it isn't either of those, THEN it'll error out.
by: Trevor
This bug has been fixed in the CVS.

Snapshots of the sources are packaged every 6 hours; this change
will be in the next snapshot. You can grab the snapshot at the
Downloads section.

Thank you for the report, and for helping us to make CPG-Nuke 9.0.3 -> 9.1 better.
User Info

Welcome Anonymous



(Register)
Community

Support for DragonflyCMS in a other languages:

Deutsch
Español