Page 15 of 15 FirstFirst ... 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Results 211 to 225 of 225
Like Tree50Likes

How-To Set up your CDN

This is a discussion on How-To Set up your CDN within the Member Articles forums, part of the Focus on Members category; Originally Posted by Mert Gökçeimam Hello Johnny , It looks correct Ok, if I have my httpd with: Code: RewriteCond ...

  1. #211
    Junior Member Array
    Real Name
    Johnny Johnson
    Join Date
    Jun 2007
    Posts
    24
    Liked
    0 times
    Quote Originally Posted by Mert Gökçeimam View Post
    Hello Johnny ,

    It looks correct

    Ok, if I have my httpd with:

    Code:
    RewriteCond %{HTTP_HOST} !^www\.buggiesgonewild\.com
    RewriteRule (.*) http://www.buggiesgonewild.com/$1 [L,R=301]
    And put this in .htaccess:

    Code:
    RewriteCond %{HTTP_HOST} !(^www\.buggiesgonewild\.com$|^images\.buggiesgonewild\.com$|^static\.buggiesgonewild\.com$|^avatars\.buggiesgonewild\.com$)
    RewriteRule (.*) http://www.buggiesgonewild.com/$1 [L,R=301]
    shouldn't .htaccess over ride httpd? Only reason I ask is because Its easier to test with .htaccess, get it right then place the rewrite rules in httpd. I did that last night and got errors. main worked but anything below that gave an error. Should I remove rewrite rules from httpd and use .htaccess to test?

  2. #212
    vBSEO.com Webmaster Array Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,463
    Liked
    721 times
    Blog Entries
    4
    You should not use both httpd.conf and .htaccess files. You should choose one , if you have root access i highly advise to use httpd.conf only
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  3. #213
    Member Array
    Real Name
    Diego
    Join Date
    Oct 2009
    Posts
    54
    Liked
    7 times
    Hi
    This tutorial to set up your cdn works great for "pull zones" but... for push zones its the same?

  4. #214
    Member Array
    Real Name
    Veerachai
    Join Date
    Feb 2009
    Location
    London, UK
    Posts
    51
    Liked
    0 times
    Attachment doesn't work when i click on attachment link it still use local attachment

    I already follow step and I use VB3.87

    Please see picture

    Do I need to configure something else ?
    Attached Thumbnails Attached Thumbnails capture.png  

  5. #215
    Member Array
    Real Name
    Veerachai
    Join Date
    Feb 2009
    Location
    London, UK
    Posts
    51
    Liked
    0 times
    Does anyone get CDN attachment working with VB 3.8X ?

  6. #216
    Member Array
    Real Name
    Veerachai
    Join Date
    Feb 2009
    Location
    London, UK
    Posts
    51
    Liked
    0 times
    Quote Originally Posted by vktechnology View Post
    Does anyone get CDN attachment working with VB 3.8X ?
    Good news I got it to work now
    1) Can upload and view attachments on private forums and public forums.
    2) Reduce average load 60% of webserver because separate files on main webserver & reduce apache process.

  7. #217
    Junior Member Array
    Real Name
    Tom Reid
    Join Date
    Jun 2012
    Posts
    1
    Liked
    0 times
    Has anyone been able to get VBSEO to work in an Amazon EC2 instance with Cloudfront and Route53? I am running VBulletin 4.2.0 and VBSEO

    Webserver & proxy instance is nginx/1.0.15

  8. #218
    Member Array
    Real Name
    Karel
    Join Date
    Oct 2007
    Location
    Belgium
    Posts
    39
    Liked
    0 times
    hello,

    I'm busy setting up CDN but after implementation, all images are not visible
    What i have done:

    set up three subdomains in the vbseo settings
    static.pc-helpforum.be
    img.pc-helpforum.be
    avatars.pc-helpforum.be

    CDN is configured, and i have created the CNAME records

    when i make a test like: http://avatars.pc-helpforum.be/image...avbit-home.png same with static and img the image is shown.

    The only thing i am not sure is my htaccess file, because i redirect non www to www urls, so i tried to add the exeptions and its now like this:

    RewriteCond %{HTTP_HOST} !(^www\.pc-helpforum\.be$|^static\.pc-helpforum\.be$|^img\.pc-helpforum\.be$|^avatars\.pc-helpforum\.be$)
    RewriteRule (.*) http://www.pc-helpforum.be/$1 [R=301,L]



    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
    RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.+)$ vbseo.php [L,QSA]
    What is wrong? Please help :-)

    Thanks,
    Karel

  9. #219
    Member Array
    Real Name
    Karel
    Join Date
    Oct 2007
    Location
    Belgium
    Posts
    39
    Liked
    0 times
    Quote Originally Posted by karel1985 View Post
    hello,

    I'm busy setting up CDN but after implementation, all images are not visible
    What i have done:

    set up three subdomains in the vbseo settings
    static.pc-helpforum.be
    img.pc-helpforum.be
    avatars.pc-helpforum.be

    CDN is configured, and i have created the CNAME records

    when i make a test like: http://avatars.pc-helpforum.be/image...avbit-home.png same with static and img the image is shown.

    The only thing i am not sure is my htaccess file, because i redirect non www to www urls, so i tried to add the exeptions and its now like this:



    What is wrong? Please help :-)

    Thanks,
    Karel
    Found it ! After reading all the pages in this topic i have added the subfolders in the settings and now it works !

  10. #220
    Member Array
    Real Name
    Karel
    Join Date
    Oct 2007
    Location
    Belgium
    Posts
    39
    Liked
    0 times
    Quote Originally Posted by vktechnology View Post
    Good news I got it to work now
    1) Can upload and view attachments on private forums and public forums.
    How did you achieve this? According to the limitations, this was not possible?
    Please explain !

  11. #221
    Senior Member Array
    Real Name
    Dhillon
    Join Date
    Apr 2006
    Posts
    345
    Liked
    1 times
    ^ In 'attachment.php' delete or comment out the function that check for permissions.

  12. #222
    Senior Member Array
    Real Name
    Dhillon
    Join Date
    Apr 2006
    Posts
    345
    Liked
    1 times
    Because attachments are process by php, the CDNs doesn't seem to be caching them.
    So not much point to use cdn for attachments.

  13. #223
    Junior Member Array
    Real Name
    Jameson or Chris
    Join Date
    Jul 2012
    Posts
    7
    Liked
    0 times
    I will pay someone to walk me through this and make sure there are no errors. There is a lot of good info in this thread but I'm not confident that all issues are addressed.

  14. #224
    Senior Member Array
    Real Name
    vissa
    Join Date
    Aug 2005
    Location
    CA, USA
    Posts
    175
    Liked
    6 times
    Quote Originally Posted by Notorious View Post
    ^ In 'attachment.php' delete or comment out the function that check for permissions.
    Can you please elaborate on the edits needed? I tried my hand at it and failed.

  15. #225
    Junior Member Array
    Real Name
    santiago
    Join Date
    Oct 2009
    Posts
    4
    Liked
    0 times

    Problem configuring htaccess

    hi,


    I do not know that setting my httacces well:


    RewriteCond %{HTTP_HOST} !^www\.hagalepues\.net$|^images\.hagalepues\.net$)


    I get a:


    Internal Server Error


    The Server Encountered an internal error or misconfiguration and was unable to complete your request.

Page 15 of 15 FirstFirst ... 2 3 4 5 6 7 8 9 10 11 12 13 14 15

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •