Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

MaxCDN Content Delivery Solution?

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #61  
Old 04-22-2012, 09:45 AM
  a1deano's Avatar 
a1deano a1deano is offline
 

X-Adept
  
Join Date: Oct 2004
Posts: 745
 

Default Re: MaxCDN Content Delivery Solution?

Has anyone got v4.4.4 working on Maxcdn without problems...
__________________
--------------
V4.6.1
xcartmods - Reboot Template

X-cart - X-PDF

Altered Cart - Checkout one
Reply With Quote
  #62  
Old 07-10-2012, 04:02 PM
 
LaurenOSD LaurenOSD is offline
 

Newbie
  
Join Date: Feb 2012
Posts: 6
 

Default Re: MaxCDN Content Delivery Solution?

Quote:
Originally Posted by Jon
I've experimented with different configurations but this principle has proved the most effective:

Open smarty.php

FIND:

Code:
$smarty->assign("SkinDir",$xcart_web_dir."/skin1"); $smarty->assign("ImagesDir",$xcart_web_dir."/skin1/images");

REPLACE WITH:

Code:
// WCM - MaxCDN Implementation if ($_SERVER['HTTPS'] != 'on') { $smarty->assign("SkinDir","http://CdnUrl.example.com/skin1"); $smarty->assign("ImagesDir","http://CdnUrl.example.com/skin1/images"); } else { $smarty->assign("SkinDir",$xcart_web_dir."/skin1"); $smarty->assign("ImagesDir",$xcart_web_dir."/skin1/images"); } // WCM - MaxCDN Implementation

Hello Jon,

I've just purchased CDSeo Pro for my Xcart version - Do you happen to have a similar tweak you could share for Amazon Cloudfront?

I am running an EC2 instance with Cloudfront and Route53

Thanks so much!
Tom
__________________
X-Cart Pro Version 4.4.5

On Sale|Download Expander|Newest Products
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4



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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 06:00 PM.

   

 
X-Cart forums © 2001-2020