| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
How to force httpS on a static page? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hiya All,
I'm currently trying to build up a static page including some content from another PHP-file. After about 2 minutes the page was finished. But now I would like to secure the page with httpS ... I have tried I 301 redirect within .htaccess to the page but it seems it goes into a loop ... seems the dispatcher.php redirects the page to a non httpS page while the .htaccess tries to redirect it up to the httpS page. I have been trying about everything I could think of but unfortunately nothing seemed to be working. I have also been looking around for a smarty tag which forces SSL / HTTPS but this was without luck as well. So now the question, is there someone with a workaround or solution to have one or more pages with SSL / HTTPS security. This is really needed because it contains a login form to access directadmin, phpMyAdmin, Webmail e.g. for my customers. Hope someone can help me out. Thanks.
__________________
X-Cart DB Version: 4.4.3 GOLD |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Add your page to $https_scripts array in this
PHP Code:
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
#3
|
|||||||
|
|||||||
![]() Hi,
In case of a static page, this doesn't work ?! When I add somepagehere.html (which contains the static page within X-Cart) it still redirects right up to the non https page. I think, this is because when a visitor visits a .html page (static within X-Cart) the dispatcher.php will be called. In this case the dispatcher.php file has to be included in the https.php file. But! When I do this, I'm quite sure the category as well other pages (products e.g.) will be redirected into https as well because these pages are requested by the dispatcher.php as well. So there must be another solution for this.
__________________
X-Cart DB Version: 4.4.3 GOLD |
|||||||
#5
|
|||||||
|
|||||||
![]() This is very great!
Thanks...
__________________
X-Cart DB Version: 4.4.3 GOLD |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|