Important: This page is using cookies (cookies). Using this website without turning off cookies in browser, means that you agree for using it.
Buy Now! Features Downloads Check vBET on vBulletin 5

Earn with us!

If you would like to start earning money with vBET join to Affiliate Program.
Results 1 to 8 of 8

Thread: vbet rules for nginx and vbulletin 4

  1. #1
    Member
    Join Date
    Mar 2010
    Posts
    55

    Default vbet rules for nginx and vbulletin 4

    Text automatically translated from: Portuguese to: English
    Translated text
    I would like to confirm that the vbet is stable for VB4 and if you have a demo site?

    I would also confirm if you have the pair nginx rewrite rules.

    Thanks,
    Original text

  2. #2
    Member
    Join Date
    Mar 2010
    Posts
    55

    Default

    vbeta == vbet something happend on translation

  3. #3
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    2,988
    Blog Entries
    1

    Default

    vBET 4.x is stable. Last release was BETA, but no serious bugs was reported. Actually we have only 1 open bug report for vBET 4.x and it is minor issue.

    At this moment we do NOT have rules for Nginx, but we can prepare those and you can test it with free version. Can you please give us your actual Nginx rules?

  4. #4
    Member
    Join Date
    Mar 2010
    Posts
    55

    Default

    nginx vbseo rules

    Code:
    location /forums/ {
    
    rewrite ^/forums/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ /forums/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 last;
    
    if (!-e $request_filename) {
    rewrite ^/forums/(.*)$ /forums/vbseo.php last;
    }
    
    }
    
    if ($request_filename ~ "\.php$" ) {
    rewrite ^/forums/(.*)$ /forums/vbseo.php last;
    }

  5. #5
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    2,988
    Blog Entries
    1

    Default

    So for vBET you should use rules below. Please note that those where not tested, but should work (it is just translation from .htaccess rules). You can test it first on free version before you buy paid one. It would be good if you make copy off your actual rules before making changes.
    Please confirm that rules are working for you.

    Of course you have to change forums to your forum directory or remove all /forums if your forum doesn't use subdirectory in URL.
    Code:
    location /forums/ {
    
    rewrite ^/forums/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ /forums/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 last;
    
    rewrite ^/forums/(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/$ /forums/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forums/ last;
    rewrite ^/forums/(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/(.*)?$ /forums/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forums/$2 last;
    
    
    if (!-e $request_filename) {
    rewrite ^/forums/(.*)$ /forums/vbenterprisetranslator_seo.php last;
    }
    
    }
    
    if ($request_filename ~ "\.php$" ) {
    rewrite ^/forums/(.*)$ /forums/vbenterprisetranslator_seo.php last;
    }

  6. #6
    Member
    Join Date
    Mar 2010
    Posts
    55

    Default

    great worked fine on nginx....

    I'm using payed version with brand free is there any way to remove
    "Automatic translations supported by vBET 4.2.2" from footer since i payed for brand free ?

  7. #7
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    2,988
    Blog Entries
    1

    Default

    I will PM you

  8. #8
    Junior Member
    Join Date
    Apr 2010
    Posts
    26

    Default

    Quote Originally Posted by vBET View Post
    So for vBET you should use rules below. Please note that those where not tested, but should work (it is just translation from .htaccess rules). You can test it first on free version before you buy paid one. It would be good if you make copy off your actual rules before making changes.
    Please confirm that rules are working for you.

    Of course you have to change forums to your forum directory or remove all /forums if your forum doesn't use subdirectory in URL.
    Code:
    location /forums/ {
    
    rewrite ^/forums/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ /forums/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 last;
    
    rewrite ^/forums/(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/$ /forums/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forums/ last;
    rewrite ^/forums/(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/(.*)?$ /forums/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forums/$2 last;
    
    
    if (!-e $request_filename) {
    rewrite ^/forums/(.*)$ /forums/vbenterprisetranslator_seo.php last;
    }
    
    }
    
    if ($request_filename ~ "\.php$" ) {
    rewrite ^/forums/(.*)$ /forums/vbenterprisetranslator_seo.php last;
    }
    Those rewrites are a little obsolete.

    Code:
    location /forums/ {
    
    rewrite ^/forums/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ /forums/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 last;
    
    rewrite ^/forums/(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/$ /forums/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forums/ last;
    rewrite ^/forums/(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/(.*)?$ /forums/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forums/$2 last;
    
    try_files $uri $uri/ /forums/vbenterprisetranslator_seo.php;
    }

Tags for this Thread

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33