Tábhachtach: Tá an leathanach seo ag baint úsáide as fianáin (cookies). Ag baint úsáide as an suíomh gréasáin seo gan casadh as fianáin i bhrabhsálaí, ciallaíonn sé go n-aontaíonn tú le haghaidh úsáid a bhaint as é.
Ceannaigh Anois! Gnéithe Íosluchtuithe

Thuilleamh le linn!

Más mian leat chun tús a chur tuilleamh airgid leis an Taisteal páirt a ghlacadh chun Clár Affiliate.
Torthaí 1 go 7 de 7

Snáithe: vBET + lighttpd + vbseo

  1. #1
    Ball Sóisearach
    Dáta Ballraíochta
    Feabhra 2010
    Poist
    4

    Exclamation vBET + lighttpd + vbseo

    C. cad faoi. Htaccess i lighttpd + vbseo?

    Do rialacha maidir le Apache htaccess:. (Níl aon rialacha le haghaidh lighttpd)
    Code:
    #RULES for SEO translation links with vbSEO (have to be included before all rules to vbseo.php)
    #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=/index.php [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]
    rialacha vBSEO do lighttpd:
    Code:
    $HTTP["host"] == "yourdomain.com" {
    server.document-root = "/path/to/your/public_html/"
    url.rewrite-once = (
    "^/forums/(sitemap.*\.(xml|txt)(\.gz)?)$" => "/forums/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1",
    "^(/forums/(admincp|modcp|clientscript|cpstyles|images|customavatars)/.*)$" => "$1",
    "^(/favicon\.ico|/robots\.txt|.*clear\.gif)$" => "$1",
    "^/forums/(.+)\?(.*)$" => "/forums/vbseo.php?$2",
    "^/forums/(.+)$" => "/forums/vbseo.php"
    )
    }
    Cad mar gheall ar rialacha a bhaineann le:
    1. lighttpd + vbseo + vbet
    2. nginx + vbseo + vbet

    Go raibh maith agat.

  2. #2
    Michał Podbielski (vBET Foirne) vBET's Avatar
    Dáta Ballraíochta
    Deireadh Fómhair 2009
    Poist
    3,037

    Default

    Is féidir linn a chur ar fáil duit rialacha den sórt sin a bhunú ar rialacha vBEO - ciallaíonn sé gan tástáil. Ba chóir go n-oibríonn sé, ach ní féidir linn a bheith cinnte gan tástálacha. Bhfuil spéis agat?

  3. #3
    Ball Sóisearach
    Dáta Ballraíochta
    Feabhra 2010
    Poist
    4

    Default

    Quote Seolta ag vBET View Post
    Bhfuil spéis agat?
    yes, le do thoil.

  4. #4
    Michał Podbielski (vBET Foirne) vBET's Avatar
    Dáta Ballraíochta
    Deireadh Fómhair 2009
    Poist
    3,037

    Default

    OK amhlaidh. Níl tástáil Thíos riail do lighttpd. Seiceáil le do thoil é agus inis dúinn ní oibríonn sé (más PM agat dom sonraí a rochtain ar éigin mar shampla tástáil féidir liom é a thástáil agus a thabhairt réiteach cinnte go bhfuil tú).

    Code:
    $HTTP["host"] == "yourdomain.com" {
    server.document-root = "/path/to/your/public_html/"
    url.rewrite-once = (
    "^/forums/(sitemap.*\.(xml|txt)(\.gz)?)$" => "/forums/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1",
    "^/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/",
    "^/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",
    "^(/forums/(admincp|modcp|clientscript|cpstyles|images|customavatars)/.*)$" => "$1",
    "^(/favicon\.ico|/robots\.txt|.*clear\.gif)$" => "$1",
    "^/forums/(.+)\?(.*)$" => "/forums/vbenterprisetranslator_seo.php?$2",
    "^/forums/(.+)$" => "/forums/vbenterprisetranslator_seo.php"
    )
    }
    Tá sé air féin ann go n-úsáideann fóram subdirectory fóraim i URL. Más rud é nach go léir le do thoil bain / Fóraim a fheiceann tú. I mo thuairimse, mar sin Tá brón orm - ach de réir mar a scríobh mé nach raibh tástáil air. Tá súil tá sé ag obair. Cuir cúltaca do rialacha iarbhír roimh athruithe a rinneadh.

  5. #5
    Ball Sóisearach
    Dáta Ballraíochta
    Feabhra 2010
    Poist
    4

    Default

    Mé hathruithe a fheiceáil, ach cad faoi:
    Code:
    "^/forums/(.+)\?(.*)$" => "/forums/vbseo.php?$2",
    "^/forums/(.+)$" => "/forums/vbseo.php"
    tá sé ní gá aon bith níos mó?

  6. #6
    Michał Podbielski (vBET Foirne) vBET's Avatar
    Dáta Ballraíochta
    Deireadh Fómhair 2009
    Poist
    3,037

    Default

    Quote Seolta ag valsha View Post
    Mé hathruithe a fheiceáil, ach cad faoi:
    Code:
    "^/forums/(.+)\?(.*)$" => "/forums/vbseo.php?$2",
    "^/forums/(.+)$" => "/forums/vbseo.php"
    tá sé ní gá aon bith níos mó?
    Uimh Is é seo an gníomhartha vbenterprisetranslator_seo.php smaoineamh mhaith scagaire le haghaidh vbseo.php a bhfuil roinnt de chineál ar rialtóir tosaigh. Mar sin, téann gach rud anois vbenterprisetranslator_seo.php trough a dhéanann ullmhúchán do vBET agus ansin áirítear vbseo.php

    Más mian leat a imirt leis na rialacha d'innill eile - go bhfuil na rialacha sin na rialacha:
    - A chruthú 2 rialacha aistriúcháin (do leathanach príomh agus daoine eile)
    - A chruthú maidir le coinníollacha cruinn cosúil le haghaidh vbseo.php ach dírithe ar vbenterprisetranslator_seo.php

  7. #7
    Ball Sóisearach
    Dáta Ballraíochta
    Feabhra 2010
    Poist
    4

    Default

    Go raibh maith agat, déan iarracht mé an cód. Phost mé anseo ar mo thorthaí.

Clibeanna le haghaidh an Thread

Ríomhphostaithe

  • Leat Is féidir nach snáitheanna post nua
  • Leat Is féidir nach post freagraí
  • Leat Is féidir nach ceangaltán post
  • Leat Is féidir nach in eagar do phoist
  •