Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2013-04-11 18:08:50

discuss4u
Member
Registered: 2013-03-06
Posts: 163

CDN Setting

I am totally new to CDN. I have just signed up a free account on Incapsula and hoped to test with it.

It seems that I need to change the cdn.php file

However, instructions from Incapsula only require me to change the DNS record of my domain. And there is no option for me to upload files to their server. (I read in cdn.php that I need to upload the files in /templates/ in order to make it to work).

So, I would like to know what I need to set in order to use the CDN....

Offline

#2 2013-04-12 08:08:45

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: CDN Setting

It depends on the CDN. Some CDNs require you to upload the files, some will automatically download the required files. Generally you need to edit cdn.php and the cdn url, for example: http://your-cdn.domain.com and also edit bootstrap.php and uncomment the line with cdn.php


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#3 2013-04-12 17:38:43

discuss4u
Member
Registered: 2013-03-06
Posts: 163

Re: CDN Setting

Thanks symtab. Incapsula only requires me to change the CNAME of my www.my-domain.com to cdn.domain.com and change the A record of the naked domain "my-domain.com". So, is it that I should make the CDN_URL  cdn.domain.com in cdn.php?

Offline

Board footer

Powered by FluxBB