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

Earn with us!

If you would like to start earning money with vBET join to Affiliate Program.
Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20

Thread: Latest vBET for vB3.8.6 prevents access URGENT

  1. #11
    Senior Member
    Join Date
    Sep 2010
    Posts
    256

    Default

    Yes, exactly like that but when translating the page cannot be found and you get my oops page if i choose spanish i get this url www.thecodecage.com/es/ is this where the error is?

  2. #12
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    I think that some lines from this htaccess file cause this issue (not vBET rules).
    hmm what happens when you comment lines after vBET rules:
    Code:
    RewriteCond %{HTTP_REFERER} !^http://skype.com/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://skype.com$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://thecodecage.com/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://thecodecage.com$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.paypal.com/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.paypal.com$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.skype.com/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.skype.com$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.co.uk/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.co.uk$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.com/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.com$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.com/forumz/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.com/forumz$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.com/forumz/images/avatars/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.com/forumz/images/avatars$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.com/golf/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.com/golf$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.eu/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.eu$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.org/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.org$ [NC]
    RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]
    you can test if for all rules (except vBET rules)

  3. #13
    Senior Member
    Join Date
    Sep 2010
    Posts
    256

    Default

    I removed all of those but still cannot find the page? (get my oops page)

  4. #14
    Senior Member
    Join Date
    Sep 2010
    Posts
    256

    Default

    When i use this as .htaccess it works but i need the other rules, can you help?
    RewriteEngine on

    <ifmodule mod_headers.c>
    <ifmodule mod_deflate.c>

    # Compress some text file types
    AddOutputFilterByType DEFLATE text/html text/css text/xml application/x-javascript

    # Deactivate compression for buggy browsers
    BrowserMatch ^Mozilla/4 gzip-only-text/html
    BrowserMatch ^Mozilla/4\.0[678] no-gzip
    BrowserMatch \bMSIE !no-gzip !gzip-only-text/html

    </ifmodule>
    </ifmodule>

    RewriteRule ^/?(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)/$ index.php?language=$1&vbet_outside=true [L,QSA]
    RewriteRule ^/?(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)/(.*)?$ $2?language=$1&vbet_outside=true [L,QSA]

    rewritecond %{query_STRING} !vbet_outside=true
    RewriteRule ^(.*)$ $1?vbet_outside=true [L,QSA]

  5. #15
    Senior Member
    Join Date
    Sep 2010
    Posts
    256

    Default

    laptop about to run out now will be back on tomorrow

  6. #16
    Michał Podbielski (vBET Staff)
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    Hi.

    Perhaps rules which are before vBET rules made redirection first so you get page not found. vBET rules are not active at all. That is why when you removed rules before it starts working. Please just try to put vBET rules before others and see how it is working.

    But first please try go back to what you had here and just remove this:
    Code:
    RewriteCond %{HTTSP_REFERER} !^https://www.paypal.com/.*$ [NC]
    RewriteCond %{HTTPS_REFERER} !^https://www.paypal.com$ [NC]
    You added conditions for vBET rule and perhaps this is why first rule is not working - and first rule is for main page. Please check it.
    Last edited by vBET; 18-05-11 at 03:46.

  7. #17
    Senior Member
    Join Date
    Sep 2010
    Posts
    256

    Default

    Thanks for your continued help, the PayPal redirect was not preventing it working, but after much trial and error this is what worked, i replaced this:
    RewriteEngine on

    <ifmodule mod_headers.c>
    <ifmodule mod_deflate.c>

    # Compress some text file types
    AddOutputFilterByType DEFLATE text/html text/css text/xml application/x-javascript

    # Deactivate compression for buggy browsers
    BrowserMatch ^Mozilla/4 gzip-only-text/html
    BrowserMatch ^Mozilla/4\.0[678] no-gzip
    BrowserMatch \bMSIE !no-gzip !gzip-only-text/html

    </ifmodule>
    </ifmodule>

    <IfModule mod_rewrite.c>
    #RewriteBase /blog/
    #RewriteCond %{REQUEST_FILENAME} !-f
    #RewriteCond %{REQUEST_FILENAME} !-d
    #RewriteRule . /blog/index.php [L]
    for this:
    RewriteEngine on

    <ifmodule mod_headers.c>
    <ifmodule mod_deflate.c>

    # Compress some text file types
    AddOutputFilterByType DEFLATE text/html text/css text/xml application/x-javascript

    # Deactivate compression for buggy browsers
    BrowserMatch ^Mozilla/4 gzip-only-text/html
    BrowserMatch ^Mozilla/4\.0[678] no-gzip
    BrowserMatch \bMSIE !no-gzip !gzip-only-text/html

    </ifmodule>
    </ifmodule>
    RewriteRule ^/?(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)/$ index.php?language=$1&vbet_outside=true [L,QSA]
    RewriteRule ^/?(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)/(.*)?$ $2?language=$1&vbet_outside=true [L,QSA]

    rewritecond %{query_STRING} !vbet_outside=true
    RewriteRule ^(.*)$ $1?vbet_outside=true [L,QSA]

    <IfModule mod_rewrite.c>
    #RewriteBase /blog/
    #RewriteCond %{REQUEST_FILENAME} !-f
    #RewriteCond %{REQUEST_FILENAME} !-d
    #RewriteRule . /blog/index.php [L]
    and it works, although i now need to work out how to get the page not found redirect to go back to the oops page but i can live with what i have for now

  8. #18
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    can you confirm that this is solved now? I was on your site and translation works good

  9. #19
    Senior Member
    Join Date
    Sep 2010
    Posts
    256

    Default

    Kamil, as far as vBET is concerned it is solved as my vbulletin powered page outside of the forum root now translates. The remaining issue is now mine in order to redirect a url that isn't found to my custom page.

    So please mark this solved

  10. #20
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    thanks for your confirmation - solved!

Page 2 of 2 FirstFirst 12

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
  •