PDA

View Full Version: Réiteach Sosanna athrú FAST CGI. Htaccess do riail vbet lasmuigh



ctrenks
18-03-12, 15:39
Nuair a aistriú liom FCGI ar mo freastalaí (xCache a cheadú agus é a bhrostú) rulles mo rewite léir woorking stad.

más rud é i bhaint ach an




#This rule must be in each directory which have to be supported (without forum directory itself)
RewriteCond %{QUERY_STRING} !vbet_outside=true
RewriteRule ^(.*)$ $1?vbet_outside=true [L,QSA]


gach mo rialacha ag obair ansin. ionas gur dealraitheach somthing sa bhriseann an fad. htaccess le FCGI

aon smaointe?

raibh maith agat
Chris

r.dziadusz
18-03-12, 18:24
Dia duit
Níorbh fhéidir leat le do thoil thaispeáint dom do gach duine. Htaccess?

ctrenks
19-03-12, 15:49


<Files ~ "\.inc$">
Order allow,deny
Deny from all
Satisfy All
</Files>

Header unset ETag
FileETag None


# 2 HOURS
<FilesMatch "\.(html|htm|php)$">
Header set Cache-Control "max-age=7200, must-revalidate"
</FilesMatch>

<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$">
Header set Cache-Control "public"
Header set Expires "Thu, 15 Apr 2015 20:00:00 GMT"
</FilesMatch>

Options +FollowSymLinks

RewriteEngine on
RewriteBase /


RewriteRule [.]*play_casino([0-9]+) cportal/tclick.php?%{QUERY_STRING}&id=$1 [QSA]
RewriteRule [.]*play_banner([0-9]+) cportal/bclick.php?%{QUERY_STRING}&id=$1 [QSA]
RewriteRule ^casino_guide/([a-z0-9-]+).html$ index.php?id=casino_guide/$1
RewriteRule [.]*poker_guide/([a-z0-9-]+).html index.php?id=poker_guide/$1 [QSA]
RewriteRule [.]*bingo_guide/([a-z0-9-]+).html index.php?id=bingo_guide/$1 [QSA]
RewriteRule [.]*skill_guide/([a-z0-9-].+).html index.php?id=skill_guide/$1 [QSA]
RewriteRule [.]*casino_guide/reviews([a-z0-9-]+) index.php?pageid=reviews [QSA]
RewriteRule [.]*casino_guide/review-save([a-z0-9-]+) index.php?pageid=review-save [QSA]
#RewriteRule ^/?([a-z0-9-]+)\.html index.php?id=$1 [QSA]
RewriteRule ^([a-z0-9-]+)\.html$ index\.php?id=$1
RewriteRule [.]*casino-banks/([a-z0-9-]+) index.php?pageid=binfo&id=$1 [QSA]
RewriteRule [.]*casino_review/([a-z0-9-]+) index.php?pageid=info2&id=$1 [QSA]
RewriteRule [.]*poker_review/([a-z0-9-]+) index.php?pageid=info2&id=$1 [QSA]
RewriteRule [.]*bingo_review/([a-z0-9-]+) index.php?pageid=info2&id=$1 [QSA]
RewriteRule [.]*skill_review/([a-z0-9-]+) index.php?pageid=info2&id=$1 [QSA]
RewriteRule [.]*casino-banking/([a-z0-9-]+).html index.php?id=casino-banking/$1 [QSA]
RewriteRule [.]*afc_contests/([a-z]+).html index.php?pageid=$1 [QSA]



#Those rules have to be in domain main folder
#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)/(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)* http://www.allfreechips.com/Allfreechips [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)/$ 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]


#This rule must be in each directory which have to be supported (without forum directory itself)
RewriteCond %{QUERY_STRING} !vbet_outside=true
RewriteRule ^(.*)$ $1?vbet_outside=true [L,QSA]


ctrenks
20-03-12, 13:38
Aon smaointe? I havent fuair rud ar bith ar líne a bheadh a rá go mbeidh an sos, rinne mé a fheiceáil gur féidir referance FCGI bhfuil aon luachanna i réimsí SERVER_ENV ach aon rud a deir ba chóir é seo a tharlóidh!

r.dziadusz
20-03-12, 14:09
Ceisteanna additiona mórán:
-Úsáideann tú vbSEO?
-Más rud é nach bhfuil a dhéanamh do URLanna le cód / xx / lang?
Is-an leathanach seo taobh amuigh do eolaire fóram?
-Culd léiríonn tú dom (screeenshot nó moladh) moladh briste nuair nach bhfuil. Htaccess ag obair?

ctrenks
20-03-12, 23:24
-Úsáideann tú vbSEO? - TÁ (aon rialacha VBSEO cé go taobh amuigh den eolaire fóraim
-Más rud é nach bhfuil a dhéanamh do URLanna le cód / xx / lang? Tá mé go léir mo URLanna leis an XX / / lang cód
Is-an leathanach seo taobh amuigh do eolaire fóram? - TÁ
-Culd léiríonn tú dom (screeenshot nó moladh) moladh briste nuair nach bhfuil htaccess oibre -. Leathanach ar bith go n-éilíonn FOM url athscríobh go bhfuil htaccess leathanach 404



má rem mé amach an dá deireanach línte

% RewriteCond {QUERY_STRING}! Vbet_outside = fíor
RewriteRule ^(.*)$ $ 1? Vbet_outside = fíor [L, QSA]

gach rud a oibríonn fíneáil, nó má ritheann liom php i mód suphp tá sé ceart go leor go léir.

ctrenks
21-03-12, 13:08
-Úsáideann tú vbSEO? - Ní Tá rewrites ach lasmuigh de na fóraim eolaire nuair is querrystring
-Más rud é nach bhfuil a dhéanamh do URLanna le cód / xx / lang? - Is ea iad uile mo leathanach / XX /
Is-an leathanach seo taobh amuigh do eolaire fóram? - Is ea
-Culd léiríonn tú dom (screeenshot nó moladh) moladh briste nuair nach bhfuil. Htaccess ag obair? - Beidh aon leathanach go requres an Athscríobh (gach rud ach an leathanach baile agus leathanaigh fóraim) 404


Ceisteanna additiona mórán:
-Úsáideann tú vbSEO?
-Más rud é nach bhfuil a dhéanamh do URLanna le cód / xx / lang?
Is-an leathanach seo taobh amuigh do eolaire fóram?
-Culd léiríonn tú dom (screeenshot nó moladh) moladh briste nuair nach bhfuil. Htaccess ag obair?

r.dziadusz
21-03-12, 19:18
OK
Tá mé ag seiceáil ar sé

ctrenks
23-03-12, 23:12
An féidir liom a bhaint díreach seo go hiomlán agus i mo leathanaigh fóram neamh add $ vbet_outside = fíor go simplí

Mar a úsáid mé ar leathanach amháin a pharsáil gach leathanach fóram neamh mbeadh sé seo a bheith simplí.

ctrenks
24-03-12, 00:21
An féidir liom a bhaint díreach seo go hiomlán agus i mo leathanaigh fóram neamh add $ vbet_outside = fíor go simplí

Mar a úsáid mé ar leathanach amháin a pharsáil gach leathanach fóram neamh mbeadh sé seo a bheith simplí.

ctrenks
26-03-12, 21:59
An féidir leat insint dom nuair atá an cheack do $ _GET [vbet_outside] agus is féidir é a leagtar mé ann agus is féidir chomh maith.

ctrenks
27-03-12, 17:54
Shíl mé go mbeadh sé seo a bheith ar iarraidh simplí 5 nóiméad??

r.dziadusz
27-03-12, 23:16
Tá brón orm tú fanacht o fad.
Fós tá muid ag obair conas a réiteach do cheist.
Tá tú ag iarraidh a modificate $ _GET .. de láimh i Áirítear / vbenterpisetranslator_functions_redirect_utils.php
ar aon dul
if($_REQUEST['vbet_outside'] && false === strpos($url,'http')) {

ctrenks
28-03-12, 16:32
OK, beidh mé ag cur ach athróg i mo teimpléad seachtracha rá $ vb_out = 1 mhodhnú ansin más rud é ráiteas le NÓ chomh maith.

Go raibh maith agat,
Chris

r.dziadusz
28-03-12, 18:17
Leat le do thoil welcom in iúl dom má oibríonn sé ar do shon

ctrenks
28-03-12, 21:08
I mo thuairimse, a oibríonn sé ceart go leor, tá mé ag féachaint ar cheist cé nuair a aistriú i leathanaigh (nach bhfuil cinnte nuair a thosaigh seo) fiú má mé ar ais ar ais chun na rialacha Athscríobh gnáth.


Treoir ar an leathanach baile Casino Líne | Uimh Casinos Taisce | Casino Léirmheasanna ar líne agus Fóram Casino (http://www.allfreechips.com) más rud é i lasc lang, ansin cliceáil ar leathanach eile ar an roghchlár taobh clé a fháil i earráid 500 le moladh ar mar seo

xttp :/ / www.allfreechips.com / da / da / da / da / da / da / da / da / da / da / casino_guide / Stáit Aontaithe Mheiriceá-líne-casinos.html

seo nach bhfuil ar ndóigh maith!

ctrenks
29-03-12, 12:32
freisin go bhfaca earráid ar leathanaigh cosúil le casinos Spin saor in aisce i 2012 a thairiscint bónais Casino iontach saor in aisce (http://www.allfreechips.com/casino_guide/free-spin-casinos.html) a thógann sé ar an whre "de" as treoir i moladh agus traets go mar an lanf \\ de \\

ctrenks
29-03-12, 14:04
ceart go leor, dar leis an snáithe mar a réiteach leis an gceist Orig. oscailt snáithe nua.

Automatic Translations (Powered by Google, Microsoft®, Yandex, SDL Language Cloud, IBM Watson and Apertium):
AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
vBET 4.10.1 gives automatic translations