Gtranslate pro - */CODE/content redirect for */content

Popular automatic website translation tool

Gtranslate pro - */CODE/content redirect for */content

Postby Marcio Nunes » Sat Jul 14, 2012 3:46 pm

Hi!

My web site worked fine. http://www.lecturas.org

This is cache in google for english version (original language is spanish) from july 9th
http://webcache.googleusercontent.com/s ... clnk&gl=es

Yesterday crashed

Can see this examples:

http://www.lecturas.org/en
http://www.lecturas.org/fr
http://www.lecturas.org/it

All language redirect for root domain

http://www.lecturas.org

Other example in portuguese language:
http://www.lecturas.org/pt/horoscopo/mensual.html

redirect for original spanish without /pt/ http://www.lecturas.org/horoscopo/mensual.html, removing the language code of URL

In one test domain the redirect work, with license errors, but redirect:
http://s393541961.mialojamiento.es/pt/

Not change in .htaccess, working perfectly. My hosting reply that it made no change in my server.

Any idea?

I dont use the plugin gtranslate, just the module as Gtranslate Pro and last version! (Joomla 1.5)

Enable all features:
PHP ionCube Loader
PHP Curl library
PHP JSON library
Apache mod_rewrite

All details can see here:
PHP INFO: http://www.lecturas.org/info.php

gtranslate/cache/xx - 777

Log debug, refused, but work in ssh the command: curl -v hostname
Enable debug mode:
http://www.lecturas.org/gtranslate/debug.txt

Code: Select all
* About to connect() to www.lecturas.org port 80 (#0)
*   Trying XXX.XXX.X51.88... * Connection refused
* couldn't connect to host
* Closing connection #0


php.ini

Code: Select all
allow_url_fopen = on
register_globals = off
display_errors = on
allow_url_include = on
allow_url_fopen = on
allow_url_fopen = 1
zend_extension = /homepages/43/d393541947/htdocs/lecturas.org/var/www/vhosts/lecturas.org/ioncube/ioncube_loader_lin_5.2.so
php_flag upload_max_filesize 50M
php_flag max_execution_time 300
; memory_limit = 60M


My .htaccess

Code: Select all
##
# @version $Id: htaccess.txt 13415 2009-11-03 15:53:25Z ian $
# @package Joomla
# @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
# @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
# Joomla! is Free Software
##


#####################################################
#  READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations.  It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file.  If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your sef url's.  If they work,
# it has been set by your server administrator and you do not need it set here.
#
#####################################################

##  Can be commented out if causes errors, see notes above.
RewriteEngine On
RewriteBase /
RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/([a-z]{2}|zh-CN|zh-TW)/(.*)$ /$1/$3 [R=301,L]
RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/([a-z]{2}|zh-CN|zh-TW)$ /$1/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/(.*)$ /gtranslate/translate.php?lang=$1&url=$2 [L,QSA]
RewriteRule ^([a-z]{2}|zh-CN|zh-TW)$ /gtranslate/translate.php?lang=$1 [L,QSA]

Options +FollowSymLinks
AddHandler x-mapp-php5 .php
SetEnv PHP_VER 5
SetEnv REGISTER_GLOBALS 0
#SecFilterEngine Off

RewriteCond %{HTTP_HOST} ^lecturas.org [NC]
RewriteRule ^(.*)$ http://www.lecturas.org/$1 [L,R=301]

# gtranslate config
#RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/([a-z]{2}|zh-CN|zh-TW)/(.*)$ /$1/$3 [R=301,L]
#RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/([a-z]{2}|zh-CN|zh-TW)$ /$1/ [R=301,L]
#RewriteCond %{REQUEST_URI} !^/js
#RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/(.*)$ /gtranslate/translate.php?lang=$1&url=$2 [L,QSA]
#RewriteCond %{REQUEST_URI} !^/js
#RewriteRule ^([a-z]{2}|zh-CN|zh-TW)$ /gtranslate/translate.php?lang=$1 [L,QSA]

########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#
## Deny access to extension xml files (uncomment out to activate)
#<Files ~ "\.xml$">
#Order allow,deny
#Deny from all
#Satisfy all
#</Files>
## End of deny access to extension xml files
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
#
########## End - Rewrite rules to block out some common exploits

#  Uncomment following line if your webserver's URL
#  is not directly related to physical file paths.
#  Update Your Joomla! Directory (just / for root)




########## Begin - Joomla! core SEF Section
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$  [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#
########## End - Joomla! core SEF Section
Last edited by Marcio Nunes on Sat Jul 14, 2012 6:03 pm, edited 9 times in total.
Marcio Nunes
 
Posts: 14
Joined: Sun Feb 20, 2011 5:13 pm

Re: Gtranslate pro - */CODE/content redirect for */content

Postby Yana » Sun Jul 15, 2012 5:01 pm

Hi,
There is a connection issue. Please fix it.
* About to connect() to www.lecturas.org port 80 (#0)
* Trying 87.106.151.88... * Connection refused
* couldn't connect to host
* Closing connection #0
Regards,

Yana Ghahramanyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Yana
 
Posts: 4134
Joined: Thu Jan 12, 2012 6:21 pm

Re: Gtranslate pro - */CODE/content redirect for */content

Postby Marcio Nunes » Sun Jul 15, 2012 6:00 pm

Thanks Yana!

With DNS server resolve my domain name?

My localhost or licence.gtranslate.net?
Marcio Nunes
 
Posts: 14
Joined: Sun Feb 20, 2011 5:13 pm

Re: Gtranslate pro - */CODE/content redirect for */content

Postby Marcio Nunes » Mon Jul 16, 2012 9:26 pm

Fixed the problem with provider...

Gtranslate now working!
Marcio Nunes
 
Posts: 14
Joined: Sun Feb 20, 2011 5:13 pm

Re: Gtranslate pro - */CODE/content redirect for */content

Postby Yana » Wed Jul 18, 2012 7:40 pm

Hi,
Good to hear that!
Regards,

Yana Ghahramanyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Yana
 
Posts: 4134
Joined: Thu Jan 12, 2012 6:21 pm


  • Related Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests

2GLux