Discover Centmin Mod today
Register Now

vBulletin Nginx + vB 3.7 + vBSEO 3.5.2

Discussion in 'Forum software usage' started by BamaStangGuy, Oct 23, 2014.

  1. BamaStangGuy

    BamaStangGuy Active Member

    465
    136
    43
    May 25, 2014
    Ratings:
    +179
    Local Time:
    5:30 PM
    We are moving a recently purchased forum, Religious Education Forum - Discuss, Compare and Debate Religions in Our Online Community to our server. You can see the url structure there.

    The following is what is listed here but does not work for threads (just individual forums)

    Nginx and vBulletin vBSEO

    Our setup using the above:

    Code:
     location /forum/ {
    rewrite ^/forum/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ /forum/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 last;
    
    try_files $uri $uri/ /forum/vbseo.php?$args;
    
    }
    Thread urls 404 using the above. Example of a thread url: What would you do if your browser is crashed? - Religious Education Forum

    This works: CONTESTS - Religious Education Forum

    What am I missing to get this working?
     
  2. BamaStangGuy

    BamaStangGuy Active Member

    465
    136
    43
    May 25, 2014
    Ratings:
    +179
    Local Time:
    5:30 PM
    Remembered the staticfiles.conf. Removed .html and it works.
     
    • Like Like x 1
  3. BamaStangGuy

    BamaStangGuy Active Member

    465
    136
    43
    May 25, 2014
    Ratings:
    +179
    Local Time:
    5:30 PM
  4. eva2000

    eva2000 Administrator Staff Member

    28,984
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,766
    Local Time:
    8:30 AM
    Nginx 1.13.x
    MariaDB 5.5
    yup if you use .html extensions need that workaround in staticfiles.conf :)

    both those urls render and load avatar images for me fine and load properly in threads too i.e. Salutations! - Religious Education Forum
     
  5. BamaStangGuy

    BamaStangGuy Active Member

    465
    136
    43
    May 25, 2014
    Ratings:
    +179
    Local Time:
    5:30 PM
    I haven't moved the test server live yet. What you see is the live apache server not the nginx one.
     
  6. eva2000

    eva2000 Administrator Staff Member

    28,984
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,766
    Local Time:
    8:30 AM
    Nginx 1.13.x
    MariaDB 5.5
    that doesn't help then.. what avatar url is being served for the broken images ? (where is nginx looking for avatars ?) is it's just giving 404 not found ?

    if you comment out staticfiles.conf include in nginx vhost do the avatars work ? could be related to staticfiles.conf entry for static images if you are rewriting their images via vbseo. You're live forums don't have avatars with rewritten urls, so if the test one has vbseo set to enable avatar url rewriting, might want to disable that.
     
  7. BamaStangGuy

    BamaStangGuy Active Member

    465
    136
    43
    May 25, 2014
    Ratings:
    +179
    Local Time:
    5:30 PM
    Thanks, got everything figured out.
     
  8. eva2000

    eva2000 Administrator Staff Member

    28,984
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,766
    Local Time:
    8:30 AM
    Nginx 1.13.x
    MariaDB 5.5
    so it was vbseo rewriting avatar urls ?
     
  9. BamaStangGuy

    BamaStangGuy Active Member

    465
    136
    43
    May 25, 2014
    Ratings:
    +179
    Local Time:
    5:30 PM
    Yea, along with album pictures and everything else under the sun.
     
  10. eva2000

    eva2000 Administrator Staff Member

    28,984
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,766
    Local Time:
    8:30 AM
    Nginx 1.13.x
    MariaDB 5.5
    i see.. always good to do a full backup of vbseo xml settings and restore and/or check migrated forums using same settings for vbseo
     
  11. BamaStangGuy

    BamaStangGuy Active Member

    465
    136
    43
    May 25, 2014
    Ratings:
    +179
    Local Time:
    5:30 PM
    Hopefully this is the last time I ever have to touch that software lol
     
  12. eva2000

    eva2000 Administrator Staff Member

    28,984
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,766
    Local Time:
    8:30 AM
    Nginx 1.13.x
    MariaDB 5.5
    no love huh... I still love vB 3.8.x and vB 4.2 :D

    or you mean vbseo ?
     
  13. BamaStangGuy

    BamaStangGuy Active Member

    465
    136
    43
    May 25, 2014
    Ratings:
    +179
    Local Time:
    5:30 PM
    None at all. Working with vB 3 again is a nightmare now after being spoiled by XenForo.
     
  14. eva2000

    eva2000 Administrator Staff Member

    28,984
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,766
    Local Time:
    8:30 AM
    Nginx 1.13.x
    MariaDB 5.5
    oh... also vBSEO 3.5.2 is severely out of date.. should look at DBTech's DBSeo to migrate vBSEO rewrite settings to DBSeo
     
  15. BamaStangGuy

    BamaStangGuy Active Member

    465
    136
    43
    May 25, 2014
    Ratings:
    +179
    Local Time:
    5:30 PM
    It will be on XenForo by the end of the week :)
     
    • Like Like x 1
  16. eva2000

    eva2000 Administrator Staff Member

    28,984
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,766
    Local Time:
    8:30 AM
    Nginx 1.13.x
    MariaDB 5.5
    that works too :)