Want to subscribe to topics you're interested in?
Become a Member

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

    668
    192
    43
    May 25, 2014
    Ratings:
    +272
    Local Time:
    12:38 AM
    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

    668
    192
    43
    May 25, 2014
    Ratings:
    +272
    Local Time:
    12:38 AM
    Remembered the staticfiles.conf. Removed .html and it works.
     
  3. BamaStangGuy

    BamaStangGuy Active Member

    668
    192
    43
    May 25, 2014
    Ratings:
    +272
    Local Time:
    12:38 AM
  4. eva2000

    eva2000 Administrator Staff Member

    53,212
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,650
    Local Time:
    3:38 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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

    668
    192
    43
    May 25, 2014
    Ratings:
    +272
    Local Time:
    12:38 AM
    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

    53,212
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,650
    Local Time:
    3:38 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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

    668
    192
    43
    May 25, 2014
    Ratings:
    +272
    Local Time:
    12:38 AM
    Thanks, got everything figured out.
     
  8. eva2000

    eva2000 Administrator Staff Member

    53,212
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,650
    Local Time:
    3:38 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    so it was vbseo rewriting avatar urls ?
     
  9. BamaStangGuy

    BamaStangGuy Active Member

    668
    192
    43
    May 25, 2014
    Ratings:
    +272
    Local Time:
    12:38 AM
    Yea, along with album pictures and everything else under the sun.
     
  10. eva2000

    eva2000 Administrator Staff Member

    53,212
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,650
    Local Time:
    3:38 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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

    668
    192
    43
    May 25, 2014
    Ratings:
    +272
    Local Time:
    12:38 AM
    Hopefully this is the last time I ever have to touch that software lol
     
  12. eva2000

    eva2000 Administrator Staff Member

    53,212
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,650
    Local Time:
    3:38 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    no love huh... I still love vB 3.8.x and vB 4.2 :D

    or you mean vbseo ?
     
  13. BamaStangGuy

    BamaStangGuy Active Member

    668
    192
    43
    May 25, 2014
    Ratings:
    +272
    Local Time:
    12:38 AM
    None at all. Working with vB 3 again is a nightmare now after being spoiled by XenForo.
     
  14. eva2000

    eva2000 Administrator Staff Member

    53,212
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,650
    Local Time:
    3:38 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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

    668
    192
    43
    May 25, 2014
    Ratings:
    +272
    Local Time:
    12:38 AM
    It will be on XenForo by the end of the week :)
     
  16. eva2000

    eva2000 Administrator Staff Member

    53,212
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,650
    Local Time:
    3:38 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    that works too :)