homepage Welcome to WebmasterWorld Guest from 54.167.10.244
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
.htaccess, 301, and images
smartwork




msg:4043592
 6:53 pm on Dec 15, 2009 (gmt 0)

One one of our sites, we're redirecting everything to a sub-folder. We noticed that on our ssl pages that the padlock blips and is then gone. From my reading, others have mentioned that it's related to the 301 and images are preceived to be non-https. In this scenario and in the cases I read about, IE doesn't display any security warning windows.

Is there something additionally that needs to be done to address the images? If I shut off image display in IE, the padlock displays correctly. All our images references appear to be relative and within subfolders of the folder we're redirecting to.

 

jdMorgan




msg:4043701
 10:00 pm on Dec 15, 2009 (gmt 0)

Use an internal URL-to-filepath rewrite, not a external URL-to-URL client redirect. In this way, the incoming requested URLs will be "mapped" or "pointed" to a non-default location in the filesystem (your subdirectory), with the client (e.g browser or search robot) remaining completely oblivious to this fact.

The basic problem appears to be that you've 'mixed up' URLs with filepaths; They don't necessarily have to be related. In so doing you've thrown a client redirect into the mix, which is unnecessary, slows down your users' transactions, puts double-entries in your server logs (screws up your stats), and may be the cause of this SSL problem. Like many technical misunderstandings or errors, little errors in server configuration can cause *big* problems.

Jim

smartwork




msg:4043731
 10:49 pm on Dec 15, 2009 (gmt 0)

Thanks for the information, Jim. I reconfigured it and it solved the issue right away.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved