The Entrepreneur Forum | Financial Freedom | Starting a Business | Motivation | Money | Success

Welcome to the only entrepreneur forum dedicated to building life-changing wealth.

Build a Fastlane business. Earn real financial freedom. Join free.

Join over 80,000 entrepreneurs who have rejected the paradigm of mediocrity and said "NO!" to underpaid jobs, ascetic frugality, and suffocating savings rituals— learn how to build a Fastlane business that pays both freedom and lifestyle affluence.

Free registration at the forum removes this block.

Need some help - Apache web server experts?

Bobo

Bronze Contributor
User Power
Value/Post Ratio
31%
Mar 25, 2008
450
140
Does anyone have any experience with URL rewriting in apache web server?


Suppose a web page with lots of static content, and there are some hardcoded http:// urls that get loaded even when the main page is https://


This causes a warning message in IE.


If anyone has any experience or suggestions, please help.
 
Dislike ads? Remove them and support the forum: Subscribe to Fastlane Insiders.

LightHouse

Legendary Contributor
FASTLANE INSIDER
EPIC CONTRIBUTOR
Read Fastlane!
Read Unscripted!
Summit Attendee
Speedway Pass
User Power
Value/Post Ratio
163%
Aug 13, 2007
4,297
6,995
Northern VA
Why is the main site secure? You can do url re writing if you have mod_rewrite available.

the difference between HTTP and HTTPs shouldn't cause an issue unless the browser is supposed to be secured the entire time, in that case all your internal links should follow that structure.
 

Bobo

Bronze Contributor
User Power
Value/Post Ratio
31%
Mar 25, 2008
450
140
Why is the main site secure? You can do url re writing if you have mod_rewrite available.

the difference between HTTP and HTTPs shouldn't cause an issue unless the browser is supposed to be secured the entire time, in that case all your internal links should follow that structure.

THis is for my real job - client problem :) Shouldn't and aren't fail to coincide in this case :-(

Thanks!
 
Dislike ads? Remove them and support the forum: Subscribe to Fastlane Insiders.

TheChaoz

New Contributor
User Power
Value/Post Ratio
14%
Oct 24, 2009
14
2
Belgium
Perhaps not what you're looking for as a solution, but why not just change all the links to https? If your main site is secured then sub files will be as well.
 

Jonleehacker

Gold Contributor
Read Fastlane!
Speedway Pass
User Power
Value/Post Ratio
61%
Oct 31, 2007
1,845
1,124
Edmonton, Canada
This is a wide-spread problem with the security settings in the latest IE. I can't even read my gmail without having to click through a maze of warnings.

The way to solve it will be to research what exactly IE8 is expecting when it comes to content delivered via http when a user is viewing an https page. Then create your pages to comply or redirect IE8 browsers to a compliant version of your site.

Hope this helps.
 

andviv

Gold Contributor
Read Fastlane!
Summit Attendee
Speedway Pass
User Power
Value/Post Ratio
40%
Jul 27, 2007
5,361
2,143
Washington DC
Try this one:

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

This will force the user to go to the httpS site.

Without looking at the site it is tough to tell, but the right solution is to get rid of the hard-coded links. Do a search/replace or something similar to get rid of them.
 
Dislike ads? Remove them and support the forum: Subscribe to Fastlane Insiders.

TC2

Contributor
User Power
Value/Post Ratio
12%
Jun 30, 2008
703
87
Phoenix, AZ
The common problem with the message is due to the image or form action link using http:// while the current viewing page is using https://

In most of the cases, the internal reference should use relative path (/images/.....) instead of hardcode http://domain.com/images/....

In that case using mod_rewrite won't solve th real problem.

If you are linking to external resource using http:// on https:// page, you will always have the message.

So the question is why you want to use https:// for your main page? And why you want to link to other resource which is not secured?
 

Post New Topic

Please SEARCH before posting.
Please select the BEST category.

Post new topic

Guest post submissions offered HERE.

New Topics

Fastlane Insiders

View the forum AD FREE.
Private, unindexed content
Detailed process/execution threads
Ideas needing execution, more!

Join Fastlane Insiders.

Top