Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 12-02-2006, 09:36 AM   #1
LQ Newbie
Registered: Aug 2006
Posts: 8

Rep: Reputation: 0
problem in accessing my site from a remote machine

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 ^(.*)$$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");
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:
The following error was encountered:
* Connection Failed
The system returned113) No route to host

i am also using registered my ip with no-ip for remote access.
can anyone help me solve this problem

Old 12-03-2006, 06:08 PM   #2
LQ Newbie
Registered: Nov 2005
Distribution: Fedora Six
Posts: 15

Rep: Reputation: 0
Sounds like an apache problem. what do your error logs say?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Complicated one: MySQL, rsync, remote machine, local machine daiver Linux - General 2 02-27-2006 12:14 PM
Problem connecting to remote fax machine bayard Linux - Hardware 0 10-18-2005 02:41 PM
Accessing a remote X server from a Windows machine escordeiro Linux - Software 1 03-23-2005 09:24 PM
accessing windows drive from remote linux machine ragchan Mandriva 6 12-14-2004 09:10 PM
PROBLEM WITH ACCESSING WEB PAGE FROM INTERNET EXPLORER ON A XP MACHINE TO SuSE 9.0 Adrian13 Linux - Networking 2 10-19-2004 11:17 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:44 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration