hi,
i m developing an e-commerce site..
for that i need access over https..
i have taken a trial certificate from thwate also and i have tried two things after that
1.i made a .htaccess file in my home folder which included the following
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://abcd.no-ip.org/$1 [R,L]
2.i have inserted the foloowing code in my index.php file
if ($_SERVER['HTTPS'] != "on") {
$url = "https://". $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];
header("Location: $url");
exit();
}
both are working independently...that is when i access my site as http://<mysitename>.com then the url changes to
https://... and the thwate certificate is shown....
but for when i try to access the site from a remote machine i get the foloowing error
While trying to retrieve the URL: abcd.no-ip.org:443
The following error was encountered:
* Connection Failed
The system returned
113) No route to host
i am also using registered my ip with no-ip for remote access.
can anyone help me solve this problem
thanks
shweta