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 6 of 6

Thread: Htaccess problem 8wayrunmedia

  1. #1
    Junior Member
    Join Date
    Aug 2010
    Posts
    16

    Default Htaccess problem 8wayrunmedia

    Text automatically translated from: Spanish to: English
    Translated text
    Hello Michael!

    I'm still using your mod and it's great!

    I have a problem because I have a mod and now vBET not work. If this issue is not going here, I apologize.

    I installed this mod8WayRun.Com - Media Library - vBulletin.org Forum

    With this mod I had to add code to the htaccess to work seo this mod, but vbeta not work. Part of vBET not been touched. I just added new code above, I believe there is something wrong:

    This is my ht access:
    ************************************-
    # # Expires
    <IfModule mod_expires.c>
    On ExpiresActive
    ExpiresDefault "access plus 1 seconds"
    ExpiresByType text / html "access plus 1 seconds"
    ExpiresByType image / gif "access plus 3456000 seconds"
    ExpiresByType image / jpeg "access plus 3456000 seconds"
    ExpiresByType image / png "access plus 3456000 seconds"
    ExpiresByType text / css "access plus 3456000 seconds"
    ExpiresByType text / javascript "access plus 3456000 seconds"
    ExpiresByType application / javascript "access plus 3456000 seconds"
    ExpiresByType application / x-javascript "access plus 3456000 seconds"
    </ IfModule>

    # # Compression
    <IfModule mod_headers.c>
    <IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE text / html text / css text / xml application / x-javascript
    BrowserMatch ^ Mozilla / 4 gzip-only-text/html
    BrowserMatch ^ Mozilla / 4 \\ .0 [678] no-gzip
    BrowserMatch \\ bMSIE! No-gzip! Gzip-only-text/html
    </ IfModule>
    </ IfModule>

    # # Rewrite
    <IfModule mod_rewrite.c>
    RewriteEngine on
    Options + FollowSymLinks

    RewriteCond% {REQUEST_FILENAME}-s [OR]
    RewriteCond% {REQUEST_FILENAME}-l [OR]
    RewriteCond% {REQUEST_FILENAME}-d
    RewriteRule ^ .* $ - [NC, L]

    # Media Library
    RewriteRule ^ media / m (\\ d $ media.php +).*/ tags? Do = tags_edit & mid = $ 1 [QSA]
    RewriteRule ^ media / m (\\ d +).*/ $ edit media.php? Do = details_edit & mid = $ 1 [QSA]
    RewriteRule ^ media / m (\\ d $ media.php +).*/ report? Do = report & mid = $ 1 [QSA]
    RewriteRule ^ media / m (\\ d +).*/ c (\\ d +) $ media.php? Do = comment_edit & cmt = $ 2 [QSA]
    RewriteRule ^ media / m (\\ d +).*/ p (\\ d +).*$ media.php? Do = details & mid = $ 1 & pid = $ 2 [QSA]
    RewriteRule ^ media / m (\\ d +) .* media.php? Do = details & mid = $ 1 [QSA]
    RewriteRule ^ media / p (\\ d +).*/ $ edit media.php? Do = playlist_edit & pid = $ 1 [QSA]
    RewriteRule ^ media / p (\\ d +) .* media.php? Do = playlist & pid = $ 1 [QSA]
    RewriteRule ^ media / c (\\ d +) .* media.php? Do = category & cid = $ 1 [QSA]
    RewriteRule ^ media / u (\\ d +) .* media.php? Do = user & uid = $ 1 [QSA]
    RewriteRule ^ media / tag /(.*) media.php? Do = tag & tid = $ 1 [QSA]
    RewriteRule ^ media / /(.*) media.php results? Do = results & query = $ 1 [QSA]
    RewriteRule ^ media / advresults /(.*) media.php? Do = advresults & query = $ 1 [QSA]
    RewriteRule ^ media / /(.*) media.php letter? Do = letter & query = $ 1 [QSA]
    RewriteRule ^ media / browse media.php .*? Do = browse [QSA]
    RewriteRule ^ media / search .* media.php? Do = search [QSA]
    RewriteRule ^ media / .* media.php random? Do = random [QSA]
    RewriteRule ^ media / .* submit media.php? Do = submit [QSA]
    RewriteRule ^ media / tagcloud media.php .*? Do = tagcloud [QSA]
    RewriteRule ^ media / .* media.php playlists? Do = playlists [QSA]
    RewriteRule ^ media / .* pcreate media.php? Do = playlists_create [QSA]
    RewriteRule ^ media / pmin media.php .*? Do = playlists_mine [QSA]
    RewriteRule ^ media / .* media.php favorites? Do = favorites [QSA]
    RewriteRule ^ media / .* media.php subscriptions? Do = subscriptions [QSA]
    RewriteRule ^ media / admin / edit / s (\\ d +) .* media.php? Do = admin_host_edit & sid = $ 1 [QSA]
    RewriteRule ^ media / admin / delete / s (\\ d +) .* media.php? Do = admin_host_delete & sid = $ 1 [QSA]
    RewriteRule ^ media / admin / export / s (\\ d +) .* media.php? Do = admin_host_export & sid = $ 1 [QSA]
    RewriteRule ^ media / admin / (\\ w +) .* media.php? Admin_ do = $ 1 [QSA]

    # Media Library from Video Directory
    RewriteCond% {QUERY_STRING} do = ViewDetails & videoid = (\\ d +)
    RewriteRule ^ video \\. Php $ media.php? Do = details & mid =% 1
    RewriteCond% {QUERY_STRING} viewcategory & categoryid = (\\ d +)
    RewriteRule ^ video \\. Php $ media.php? Do = category & cid =% 1
    RewriteCond% {QUERY_STRING} viewuser & userid = (\\ d +)
    RewriteRule ^ video \\. Php $ media.php? Do = user & uid =% 1
    RewriteCond% {QUERY_STRING} & tag =(.*) viewtag
    RewriteRule ^ video \\. Php $ media.php? Do = tag & tid =% 1
    RewriteRule ^ video \\. Php $ media.php

    # Forum
    RewriteRule ^ thread / showthread.php .* [QSA]
    RewriteRule ^ forums / forumdisplay.php .* [QSA]
    RewriteRule ^ blogs / blog.php .* [QSA]
    Entries RewriteRule ^ / .* entry.php [QSA]

    RewriteCond% {REQUEST_FILENAME}-s [OR]
    RewriteCond% {REQUEST_FILENAME}-l [OR]
    RewriteCond% {REQUEST_FILENAME}-d
    RewriteRule ^ .* $ - [NC, L]

    # MVC
    RewriteRule ^ (?$ .*?)(?:/|$))(.*|$)$ 1.php? R = $ 2 [QSA]
    </ IfModule>

    # Comment the Following line (add '#' at the Beginning)
    # To disable mod_rewrite functions.
    # Please note: You Still Need to disable the hack in
    # The vBSEO control panel to stop url rewrites.
    RewriteEngine On

    # Some servers require the RewriteBase directive to be
    # Enabled (remove '#' at the Beginning to activate)
    # Please note: when enabled, you Must include the path
    # To your root vB folder (ie RewriteBase / forums /)
    # RewriteBase /

    # RewriteCond% {HTTP_HOST}! ^ Www \\. Aquaterraria \\. Com
    # RewriteRule (.*) http://www.yourdomain.com/forums/ $ 1 [L, R = 301]

    RewriteRule ^ ((urllist | sitemap_) .* \\. (Xml | txt) (\\. Gz)?) $ Vbseo_sitemap / vbseo_getsitemap.php? Sitemap = $ 1 [L]
    RewriteRule vbenterprisetranslator_seo.php? vbet_lang = $ 1 & redirect = / [L, QSA]
    RewriteRule vbenterprisetranslator_seo.php? vbet_lang = $ 1 & redirect = / $ 2 [L, QSA]

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

    RewriteCond% {REQUEST_FILENAME}!-F
    RewriteCond% {REQUEST_FILENAME}!-D
    RewriteCond% {REQUEST_FILENAME}! ^ (Admincp | modcp | clientscript | cpstyles | images) /
    Vbenterprisetranslator_seo.php $ RewriteRule [L, QSA]
    RewriteCond% {REQUEST_URI}! (Admincp / | modcp / | cron | vbseo_sitemap)
    RewriteRule ^ ((archive /)?(.* \\. Vbseo.php (/.*)?))$ php [L, QSA]

    RewriteCond% {REQUEST_FILENAME}!-F
    RewriteCond% {REQUEST_FILENAME}!-D
    RewriteCond% {REQUEST_FILENAME}! / (Admincp | modcp | clientscript | cpstyles | images) /
    Vbseo.php ^(.+)$ RewriteRule [L, QSA]
    ************************-
    Original text

  2. #2
    Banned
    Join Date
    Nov 2010
    Posts
    95

    Default

    I suggest you to paste httaccess rules AFTER vBET rules and reply, is that working

    Thread moved from 'Bug Reporting' to 'Integration' section

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

    Default

    which part of the file (the htaccess rules) is from this mod?

  4. #4
    Junior Member
    Join Date
    Aug 2010
    Posts
    16

    Default

    Text automatically translated from: Spanish to: English
    Translated text
    Sorry, this is the original part vBET rules.
    Original text

    # Comment the following line (add '#' at the beginning)
    # to disable mod_rewrite functions.
    # Please note: you still need to disable the hack in
    # the vBSEO control panel to stop url rewrites.
    RewriteEngine On

    # Some servers require the Rewritebase directive to be
    # enabled (remove '#' at the beginning to activate)
    # Please note: when enabled, you must include the path
    # to your root vB folder (i.e. RewriteBase /forums/)
    #RewriteBase /

    #RewriteCond %{HTTP_HOST} !^www\.aquaterraria\.com
    #RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]

    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    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)/$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/ [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)/(.*)?$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/$2 [L,QSA]

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

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule $ vbenterprisetranslator_seo.php [L,QSA]
    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]
    Text automatically translated from: Spanish to: English
    Translated text
    And this is the new part:
    Original text

    ## Expires
    <ifModule mod_expires.c>
    ExpiresActive On
    ExpiresDefault "access plus 1 seconds"
    ExpiresByType text/html "access plus 1 seconds"
    ExpiresByType image/gif "access plus 3456000 seconds"
    ExpiresByType image/jpeg "access plus 3456000 seconds"
    ExpiresByType image/png "access plus 3456000 seconds"
    ExpiresByType text/css "access plus 3456000 seconds"
    ExpiresByType text/javascript "access plus 3456000 seconds"
    ExpiresByType application/javascript "access plus 3456000 seconds"
    ExpiresByType application/x-javascript "access plus 3456000 seconds"
    </ifModule>

    ## Compression
    <ifmodule mod_headers.c>
    <ifmodule mod_deflate.c>
    AddOutputFilterByType DEFLATE text/html text/css text/xml application/x-javascript
    BrowserMatch ^Mozilla/4 gzip-only-text/html
    BrowserMatch ^Mozilla/4\.0[678] no-gzip
    BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
    </ifmodule>
    </ifmodule>

    ## Rewrites
    <ifmodule mod_rewrite.c>
    RewriteEngine on
    Options +FollowSymlinks

    RewriteCond %{REQUEST_FILENAME} -s [OR]
    RewriteCond %{REQUEST_FILENAME} -l [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^.*$ - [NC,L]

    # Media Library
    ReWriteRule ^media/m(\d+).*/tags$ media.php?do=tags_edit&mid=$1 [QSA]
    ReWriteRule ^media/m(\d+).*/edit$ media.php?do=details_edit&mid=$1 [QSA]
    ReWriteRule ^media/m(\d+).*/report$ media.php?do=report&mid=$1 [QSA]
    ReWriteRule ^media/m(\d+).*/c(\d+)$ media.php?do=comment_edit&cmt=$2 [QSA]
    ReWriteRule ^media/m(\d+).*/p(\d+).*$ media.php?do=details&mid=$1&pid=$2 [QSA]
    ReWriteRule ^media/m(\d+).* media.php?do=details&mid=$1 [QSA]
    ReWriteRule ^media/p(\d+).*/edit$ media.php?do=playlist_edit&pid=$1 [QSA]
    ReWriteRule ^media/p(\d+).* media.php?do=playlist&pid=$1 [QSA]
    ReWriteRule ^media/c(\d+).* media.php?do=category&cid=$1 [QSA]
    ReWriteRule ^media/u(\d+).* media.php?do=user&uid=$1 [QSA]
    ReWriteRule ^media/tag/(.*) media.php?do=tag&tid=$1 [QSA]
    ReWriteRule ^media/results/(.*) media.php?do=results&query=$1 [QSA]
    ReWriteRule ^media/advresults/(.*) media.php?do=advresults&query=$1 [QSA]
    ReWriteRule ^media/letter/(.*) media.php?do=letter&query=$1 [QSA]
    ReWriteRule ^media/browse.* media.php?do=browse [QSA]
    ReWriteRule ^media/search.* media.php?do=search [QSA]
    ReWriteRule ^media/random.* media.php?do=random [QSA]
    ReWriteRule ^media/submit.* media.php?do=submit [QSA]
    ReWriteRule ^media/tagcloud.* media.php?do=tagcloud [QSA]
    ReWriteRule ^media/playlists.* media.php?do=playlists [QSA]
    ReWriteRule ^media/pcreate.* media.php?do=playlists_create [QSA]
    ReWriteRule ^media/pmine.* media.php?do=playlists_mine [QSA]
    ReWriteRule ^media/favorites.* media.php?do=favorites [QSA]
    ReWriteRule ^media/subscriptions.* media.php?do=subscriptions [QSA]
    ReWriteRule ^media/admin/edit/s(\d+).* media.php?do=admin_host_edit&sid=$1 [QSA]
    ReWriteRule ^media/admin/delete/s(\d+).* media.php?do=admin_host_delete&sid=$1 [QSA]
    ReWriteRule ^media/admin/export/s(\d+).* media.php?do=admin_host_export&sid=$1 [QSA]
    ReWriteRule ^media/admin/(\w+).* media.php?do=admin_$1 [QSA]

    # Media Library from Video Directory
    RewriteCond %{QUERY_STRING} do=viewdetails&videoid=(\d+)
    RewriteRule ^video\.php$ media.php?do=details&mid=%1
    RewriteCond %{QUERY_STRING} viewcategory&categoryid=(\d+)
    RewriteRule ^video\.php$ media.php?do=category&cid=%1
    RewriteCond %{QUERY_STRING} viewuser&userid=(\d+)
    RewriteRule ^video\.php$ media.php?do=user&uid=%1
    RewriteCond %{QUERY_STRING} viewtag&tag=(.*)
    RewriteRule ^video\.php$ media.php?do=tag&tid=%1
    ReWriteRule ^video\.php$ media.php

    # Forum
    RewriteRule ^threads/.* showthread.php [QSA]
    RewriteRule ^forums/.* forumdisplay.php [QSA]
    RewriteRule ^blogs/.* blog.php [QSA]
    ReWriteRule ^entries/.* entry.php [QSA]

    RewriteCond %{REQUEST_FILENAME} -s [OR]
    RewriteCond %{REQUEST_FILENAME} -l [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^.*$ - [NC,L]

    # MVC
    RewriteRule ^(?.*?)(?:/|$))(.*|$)$ $1.php?r=$2 [QSA]
    </ifmodule>
    Text automatically translated from: Spanish to: English
    Translated text
    I tried to paste the new rules after the original, but does not work.
    If you can help, I appreciate it, if not, no problem.

    Regards
    Original text

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

    Default

    ok, I will try to integrate it.

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

    Default

    Putting it after our rules will not work - our rules uses [L] - last rule. Please try to use those before vBET rules.

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