jaryx
24-03-10, 21:21
Имам голем проблем со конфигурацијата vbet4 од 5 пати Мислам дека сум сторил сè (веројатно добра) како водич, но кога ќе го вклучите имала и vB претпријатија за оптеретеноста на серверот ужасно расте и пречка до серверот. По една од пробите добив информации од сервер администратор дека нешто не е јасно петелки:
lstat64("/home/admin/domains/domena", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
lstat64("/home/admin/domains/domena/public_html", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/home/admin/domains/domena/public_html/fifa", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/home/admin/domains/domena/public_html/fifa/no", 0xbfe7a51c) = -1 ENOENT (No such file or directory)
readlink("/home/admin/domains/domena/public_html/fifa/no/f2120/\303\204\302\215\303\202\302\247\303\202\342\200\236\303\204\302\272\303\202\313\206\303\202\342\204\242\303\203\302\247\303\202\342\200\235\303\204\302\276\303\204\302\215\303\202\342\200\236\303\202\342\200\230-21723.html", 0xbfe7d66c, 4095) = -1 ENOENT (No such file or directory)
lstat64("/home", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
lstat64("/home/admin", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
lstat64("/home/admin/domains", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
lstat64("/home/admin/domains/domena", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
lstat64("/home/admin/domains/domena/public_html", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/home/admin/domains/domena/public_html/fifa", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/home/admin/domains/domena/public_html/fifa/no", 0xbfe7a51c) = -1 ENOENT (No such file or directory)
lstat64("/home", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
lstat64("/home/admin", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
lstat64("/home/admin/domains", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
lstat64("/home/admin/domains/domena", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
lstat64("/home/admin/domains/domena/public_html", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/home/admin/domains/domena/public_html/fifa", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/home/admin/domains/domena/public_html/fifa/no", 0xbfe7a51c) = -1 ENOENT (No such file or directory)
lstat64("/home", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
lstat64("/home/admin", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
lstat64("/home/admin/domains", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
lstat64("/home/admin/domains/domena", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
lstat64("/home/admin/domains/domena/public_html", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/home/admin/domains/domena/public_html/fifa", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/home", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
lstat64("/home/admin", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
access("no/f2120/\303\204\302\215\303\202\302\247\303\202\342\200\236\303\204\302\272\303\202\313\206\303\202\342\204\242\303\203\302\247\303\202\342\200\235\303\204\302\276\303\204\302\215\303\202\342\200\236\303\202\342\200\230-21723.html", F_OK) = -1 ENOENT (No such file or directory)
getcwd("/home/admin/domains/domena/public_html/fifa"..., 4096) = 48
lstat64("/home", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
lstat64("/home/admin", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
lstat64("/home/admin/domains", {st_mode=S_IF
Правилата на мојот htaccess изгледа вака:
RewriteCond %{QUERY_STRING} (hl=)(zh-TW|zh-CN|..)$
RewriteRule ^(.*)$ http://%{HTTP_HOST}/$1\?language=%2 [L,R=301]
RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
#RULES for SEO translation links with vbSEO (have to be included before all rules to vbseo.php)
RewriteRule ^/?(en|af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|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 ^/?(en|af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|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]
Второто прашање е недостатокот на стил во преведени страници (со / конфигурација). Се обидов некако да се направат промени наведени во оваа тема (http://www.vbenterprisetranslator.com/forum/troubleshooting/520-firefox-style-problem.html#post1942) За жал, извор на датотеката е различен wrsjach vbet3x и vbet4x. Ве молам да ми помогне.
lstat64("/home/admin/domains/domena", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
lstat64("/home/admin/domains/domena/public_html", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/home/admin/domains/domena/public_html/fifa", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/home/admin/domains/domena/public_html/fifa/no", 0xbfe7a51c) = -1 ENOENT (No such file or directory)
readlink("/home/admin/domains/domena/public_html/fifa/no/f2120/\303\204\302\215\303\202\302\247\303\202\342\200\236\303\204\302\272\303\202\313\206\303\202\342\204\242\303\203\302\247\303\202\342\200\235\303\204\302\276\303\204\302\215\303\202\342\200\236\303\202\342\200\230-21723.html", 0xbfe7d66c, 4095) = -1 ENOENT (No such file or directory)
lstat64("/home", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
lstat64("/home/admin", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
lstat64("/home/admin/domains", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
lstat64("/home/admin/domains/domena", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
lstat64("/home/admin/domains/domena/public_html", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/home/admin/domains/domena/public_html/fifa", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/home/admin/domains/domena/public_html/fifa/no", 0xbfe7a51c) = -1 ENOENT (No such file or directory)
lstat64("/home", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
lstat64("/home/admin", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
lstat64("/home/admin/domains", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
lstat64("/home/admin/domains/domena", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
lstat64("/home/admin/domains/domena/public_html", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/home/admin/domains/domena/public_html/fifa", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/home/admin/domains/domena/public_html/fifa/no", 0xbfe7a51c) = -1 ENOENT (No such file or directory)
lstat64("/home", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
lstat64("/home/admin", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
lstat64("/home/admin/domains", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
lstat64("/home/admin/domains/domena", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
lstat64("/home/admin/domains/domena/public_html", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/home/admin/domains/domena/public_html/fifa", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/home", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
lstat64("/home/admin", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
access("no/f2120/\303\204\302\215\303\202\302\247\303\202\342\200\236\303\204\302\272\303\202\313\206\303\202\342\204\242\303\203\302\247\303\202\342\200\235\303\204\302\276\303\204\302\215\303\202\342\200\236\303\202\342\200\230-21723.html", F_OK) = -1 ENOENT (No such file or directory)
getcwd("/home/admin/domains/domena/public_html/fifa"..., 4096) = 48
lstat64("/home", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
lstat64("/home/admin", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
lstat64("/home/admin/domains", {st_mode=S_IF
Правилата на мојот htaccess изгледа вака:
RewriteCond %{QUERY_STRING} (hl=)(zh-TW|zh-CN|..)$
RewriteRule ^(.*)$ http://%{HTTP_HOST}/$1\?language=%2 [L,R=301]
RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
#RULES for SEO translation links with vbSEO (have to be included before all rules to vbseo.php)
RewriteRule ^/?(en|af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|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 ^/?(en|af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|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]
Второто прашање е недостатокот на стил во преведени страници (со / конфигурација). Се обидов некако да се направат промени наведени во оваа тема (http://www.vbenterprisetranslator.com/forum/troubleshooting/520-firefox-style-problem.html#post1942) За жал, извор на датотеката е различен wrsjach vbet3x и vbet4x. Ве молам да ми помогне.