Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Excerpt
Note
This tutorial requires advanced knowledge. We recommend you get professionals to do this if you are not at an advanced level.

Create a Facebook app for your site

...

Set up App Facebook Base

In AdminCP, go to setting page of the app Facebook Base

Image Removed

  • Facebook Login Enabled: enable/disable login via Facebook account.
  • Facebook Application ID: App ID of Facebook app.
  • Facebook App Secret: App Secret of Facebook app.
  • Required Email: require or not require providing the email in the first time use login by Facebook account.

 

In phpFox v4.4.0, we have a new app "PHPfox_CDN_Service" to support using CDN Service (PULL method) to load static files of the site. This app will be available for the professional package.

 How to use this app with MaxCDN, KeyCDN

App Settings

Image Added

  • Enable CDN Service: Turn on/off the app.
  • CDN URL: CDN URL provided by your CDN service (PULL method).

Working with MaxCDN

  1. Log in to MaxCDN.
  2. Create a PULL Zone for your phpFox site.
    Image Added

    Image Added

    (1). Name of the Zone.
    (2). Your phpFox site URL.
    (3). Label (optional)


    Image Added
  3.  After creating a PULL Zone, put the CDN URL of the zone to the app setting and it will work. All static files on your local server will be loaded via  CDN PULL Zone.

    Info
    titleSSL Configuation

     

    If your site is using SSL, you need to work an additional step to make sure the CDN works well.

    From zone setting, go to EdgeSSL section >> Shared SSL.

    Image Added

    Select Enable here, there will be a newly generated CDN URL for your site.

    Copy this URL and apply for your site in phpFox CDN Service app.



Working with KeyCDN

  1. Log in to KeyCDN .

  2. Create a PULL Zone for your phpFox site.

    Image Added

    (1). Name of the Zone.
    (2). Zone status: active or inactive.
    (3). Zone type: select Pull
    (4).Your phpFox site URL.

    Image Added

  3. After creating PULL Zone, put the CDN URL of the zone to the app setting and it will work. All static files on your local server will be loaded via  CDN PULL Zone.