Web Design Forums

Server Administration Help

Need help installing or configuring your Linux, Apache, PHP & MySQL server? Perhaps your Windows IIS Server too? Post your problems here!

How Do You Implement https://?



Site of the Month Voting - Now Open. CAST YOUR VOTE NOW!

Reply
 
LinkBack Thread Tools
Old February 16 '10, 05:05 PM (#1)
waikoloavrm is offline
WDF Regular
 
waikoloavrm's Avatar
 
Join Date: August 2008
Posts: 163
waikoloavrm is an unknown quantity at this point
How Do You Implement https://?

Don't slap me for this first comment of my questions, but.....I have my hosting with godaddy for www.waikoloavacationrentals.com. I just purchased SSL hosting for it so that I could secure anything in the folder /reservations. How do I go about making all of that secure only? Godaddy said I would have to use redirects, but I really don't want to do that. Any help would be appreciated.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old February 17 '10, 01:30 AM (#2)
smoseley is online now
WDF Moderator
 
smoseley's Avatar
 
Join Date: March 2003
Location: Miami, FL
Posts: 8,719
smoseley has much to be proud ofsmoseley has much to be proud ofsmoseley has much to be proud ofsmoseley has much to be proud ofsmoseley has much to be proud ofsmoseley has much to be proud ofsmoseley has much to be proud ofsmoseley has much to be proud ofsmoseley has much to be proud ofsmoseley has much to be proud of
ok, well the cert is installed (https://www.waikoloavacationrentals.com/)

You can simply solve the issue using a .htaccess file.

Here's an article on it.

http://www.besthostratings.com/artic...-htaccess.html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old February 17 '10, 03:28 PM (#3)
waikoloavrm is offline
WDF Regular
 
waikoloavrm's Avatar
 
Join Date: August 2008
Posts: 163
waikoloavrm is an unknown quantity at this point
Quote:
Originally Posted by smoseley
ok, well the cert is installed (https://www.waikoloavacationrentals.com/)

You can simply solve the issue using a .htaccess file.

Here's an article on it.

http://www.besthostratings.com/artic...-htaccess.html
Steven,
I hate to say it, but it is pretty ridiculous when I can get a better answer here than at godaddy. So would this be correct.
1) I put a htaccess file in my /reservations folder.
2) Then I put the following code:
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteCond %{REQUEST_URI} reservations
RewriteRule ^(.*)$ https://www.waikoloavacationrentals.com/reservations [R,L]I am not sure about the port and I am not sure what that $1 represented at the end of the rewrite rule.

I just need everything within the reservations folder secure.
Thanks,
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old February 17 '10, 06:53 PM (#4)
smoseley is online now
WDF Moderator
 
smoseley's Avatar
 
Join Date: March 2003
Location: Miami, FL
Posts: 8,719
smoseley has much to be proud ofsmoseley has much to be proud ofsmoseley has much to be proud ofsmoseley has much to be proud ofsmoseley has much to be proud ofsmoseley has much to be proud ofsmoseley has much to be proud ofsmoseley has much to be proud ofsmoseley has much to be proud ofsmoseley has much to be proud of
No, you put the htaccess file in your web root, not in the reservations folder.

Everything else looks right!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old February 17 '10, 11:31 PM (#5)
waikoloavrm is offline
WDF Regular
 
waikoloavrm's Avatar
 
Join Date: August 2008
Posts: 163
waikoloavrm is an unknown quantity at this point
Quote:
Originally Posted by smoseley
No, you put the htaccess file in your web root, not in the reservations folder.

Everything else looks right!
Steven,
Since I was trying to do it just for the reservation folder I think it did need to be in the /reservations folder. I tried it in the other and had problems so I made a htaccess file for the /reservations folder and I think it worked. You can check it out by clicking on the book online at the bottom of www.waikoloavacationrentals.com/mauna-lani-terrace-a204.html
The only problem is that if you are using internet explorer it will ask you if you want to allow only the information delivered securely and if you click yes it will not bring in the header, background, etc.
How do I fix that?
Thanks!

Last edited by waikoloavrm; February 17 '10 at 11:34 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old February 18 '10, 01:19 AM (#6)
smoseley is online now
WDF Moderator
 
smoseley's Avatar
 
Join Date: March 2003
Location: Miami, FL
Posts: 8,719
smoseley has much to be proud ofsmoseley has much to be proud ofsmoseley has much to be proud ofsmoseley has much to be proud ofsmoseley has much to be proud ofsmoseley has much to be proud ofsmoseley has much to be proud ofsmoseley has much to be proud ofsmoseley has much to be proud ofsmoseley has much to be proud of
Odd, you have a condition in there for the path... it should work fine from the root folder....

Anyhow!!!

The IE problem you're having is because you're probably referencing the images and/or CSS with an absolute URL (e.g. http://www.mydomain.com/images/myimage.jpg).

You should instead use a relative URL (e.g. /images/myimage.jpg) for everything so that the HTTP Scheme is not a part of that path.

This will prevent issues with non-secure items not being rendered, and will eliminate the IE warning (Firefox just places a warning icon at the bottom of the window).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old February 18 '10, 01:47 AM (#7)
waikoloavrm is offline
WDF Regular
 
waikoloavrm's Avatar
 
Join Date: August 2008
Posts: 163
waikoloavrm is an unknown quantity at this point
I think this is the line of code I need to try to figure out what to change in
if(isset( $property_details['arrPicList']['clsPictureInfo']['strURL']))
echo("<img class='stream_image' src='" . $property_details ['arrPicList']['clsPictureInfo']['strURL'] ."' width='250px' height='190px' style='cursor:hand' onclick=showMoreInfo('". $moreinfo_link."')>");
else
echo("<img class='stream_image' src='propertyimage/Picture-Not-Available.gif' width='250px' height='190px' >");

It is the first half.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old February 18 '10, 02:06 AM (#8)
waikoloavrm is offline
WDF Regular
 
waikoloavrm's Avatar
 
Join Date: August 2008
Posts: 163
waikoloavrm is an unknown quantity at this point
Got it figured out. Thanks,
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

  Web Design Forums » Hosting and Server Setup » Server Administration Help

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Redirecting HTTP:// to HTTPS:// HanZnSolo Javascript, AJAX, and JSON 5 December 17 '02 12:20 PM

 
User Infomation
Your Avatar

Site Of The Month
Nominate Your Site Now!

Advertisement
WolfCMS.org

Latest Articles
- by RickM
- by bfsog

Advertisement

Partner Links



All times are GMT -4. The time now is 02:06 PM.


WebDesignForums.net is Copyright © 2010 RikeMedia.

SEO by vBSEO

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164