Forums
View unanswered posts | View active topics It is currently Sun Apr 20, 2014 4:48 am



Reply to topic  [ 2 posts ] 
 Apache rule to always get the correct htc file location? 
Author Message

Joined: Mon Aug 16, 2010 7:08 am
Posts: 1
Post Apache rule to always get the correct htc file location?
Hi all,

Since a limitation of this script is that it always needs a relative url to the htc file, and this may not always be the same for different pages stored in a CMS, I was wondering if this can be coded around in Apache with some rule in the .htaccess file which would always serve the correct htc file no matter where it was requested from?

It would probably need to match it on filename and then serve the file from a different path?

Would some sort of alias work?


Mon Aug 16, 2010 7:11 am
Profile

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1430
Post Re: Apache rule to always get the correct htc file location?
I see no reason why that couldn't work. The only downside I can see would be that if you're still using a relative path, you'll likely get PIE.htc loaded from different URLs depending on the directory your HTML file sits in. This means IE will be downloading PIE.htc more times than it needs to.


Mon Aug 16, 2010 8:36 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: Bing [Bot], Yahoo [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.