Habari
Mimi ni kwa kutumia version bure vbet na vBulletin 3.8 na kutumia NGINX webserver.
Hii ni kuandika upya sheria yangu:
Code:
location = /forum {
rewrite ^.+ /forum/ permanent; }
location /forum {
rewrite ^/forum/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ /forum/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 last;
rewrite ^/forum/(ga|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)/$ /forum/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forum/ last;
rewrite ^/forum/(ga|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)/(.*)?$ /forum/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forum/$2 last;
if (!-e $request_filename) {
rewrite ^/forum/(.*)$ /forum/vbenterprisetranslator_seo.php last;
}
}
if ($request_filename ~ "\.php$" ) {
rewrite ^/forum/(.*)$ /forum/vbenterprisetranslator_seo.php last;
}
Wakati i kupata kutafsiriwa ukurasa kiungo, naona css directory faili nafasi yake kuchukuliwa kama:
Code:
/forum/tr/clientscript/vbulletin_important.css?v=387
ni lazima
Code:
/forum/clientscript/vbulletin_important.css?v=387
Je, mtu kunisaidia?