Jump to content

Primary: Sky Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Secondary: Sky Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Pattern: Blank Waves Squares Notes Sharp Wood Rockface Leather Honey Vertical Triangles
Welcome to PHPFox Camp
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account
cheap dedicated servers
Photo

PHPfox 3 Specific CDN Server use

CDN Multi key

  • Please log in to reply
No replies to this topic

#1
rakib2015

rakib2015

    Newbie

  • Campers
  • 5 posts

Help me.

 

I am using PHPfox CDN Service. I have added multi my CDN servers. Now the issue is , Files are saving randomly to servers.

Now I want that if any file uploads in my site. It will save specifically only on server.

 

I want here all cdn servers will run but files will save on last cdn server. I mean please allow to upload files on 3.mydomain.com/file

 
 

home/horjecom/public_html/include/setting/cdn.sett.php

<?php
/**
* [PHPFOX_HEADER]
*
* @copyright        [PHPFOX_COPYRIGHT]
* @author            natio
* @package         PhpFox
* @version         $Id: cdn.sett.php.new 3956 2012-03-01 12:28:26Z Raymond_Benc $
*/


defined('PHPFOX') or exit('NO DICE!');

$aServers = array(
array(
'upload' => 'http://1.mydomain.com/',
'file' => 'http://1.mydomain.com/file/',

'key' => '111'
),

array(
'upload' => 'http://2.mydomain.com/',
'file' => 'http://2.mydomain.com/file/',

'key' => '222'

), array( 'upload' => 'http://3.mydomain.com/',
'key' => '333' )
);
 
?>

 

 

 

 







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users