Forum Archive - 404

404
Mar 22, 2011 5:19 pm by [email protected]
Hello, I´ve allready searched in the forum, but no answer for me. I´ve installed everything like the reame.txt said. But when I click on a flag, I go to the 404 pages. I don´t understand what happens. Please, help me. I also give you the htaccess file. So have a look somebody. Other thing: the version i´ve download is 1.5.x.23. But i saw, that somebody speaks about the 3.14. Where is it???? Thanks Angel
Re: 404
Mar 22, 2011 5:25 pm by [email protected]
My .htaccess. I´ve also tried, changing the .htaccess file, deleting all the rewrite-line expect the one of Gtranslate, etc. ## # @version $Id: htaccess.txt 14401 2010-01-26 14:10:00Z louis $ # @package Joomla # @copyright Copyright (C) 2005 - 2010 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. Options +FollowSymLinks # # mod_rewrite in use RewriteEngine On # 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] 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] ########## 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) # RewriteBase / ########## 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 ############ MEDIDAS DE SEGURIDAD PARA DESVIAR SCRIPTS ########## Begin - Rewrite rules to block out some common exploits # # Block out any script trying to set a mosConfig value through the URL 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] # ########################################################################## ## Back-end protection RewriteRule ^(administrator[/]?)$ $1/index.php [L] RewriteRule ^(administrator/index.htm[l]?)$ - [L] RewriteRule ^(administrator/index.php)$ - [L] RewriteRule ^(administrator/index[2-3].php)$ - [L] RewriteRule ^(administrator/(components|modules|images|templates)/.*\.(jpe[g,2]?|jpg|png|gif|bmp|css|js|swf|htm[l]?))$ - [L] RewriteRule ^(administrator/.*\.php(.*))$ - [L] RewriteRule ^administrator/(.*)$ index.php [F,L] ## Explicitly allow access only to XML-RPC's xmlrpc/index.php or plain xmlrpc/ directory RewriteRule ^xmlrpc[/]?$ xmlrpc/index.php [L] RewriteRule ^xmlrpc/index\.php$ xmlrpc/index.php [L] RewriteRule ^xmlrpc/(.*)$ xmlrpc/index.php [F,L] ## Disallow front-end access for certain Joomla! system directories RewriteRule ^(includes/js/.*)$ - [L] RewriteRule ^(cache|includes|language|libraries|logs|tmp)/.*$ index.php [F,L] ## Allow limited access for certain Joomla! system directories with client-accessible content RewriteRule ^((components|modules|plugins|templates)/.*\.(jpe[g,2]?|jpg|png|gif|bmp|css|js|swf|htm[l]?))$ - [L] RewriteRule ^((components|modules|plugins|templates)/.*\.php(.*))$ - [L] RewriteRule ^((components|modules|plugins|templates)/.*index\.php(.*))$ - [L] RewriteRule ^(components|modules|plugins|templates)/.*$ index.php [F,L] ### Server protection ENDS HERE ########## 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! # ## 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 ########## Begin - Joomla! core SEF Section (only for temp URLs) # RewriteCond %{HTTP_HOST} ^.+\.directrouter\.co(m|\.uk)$ [OR] RewriteCond %{HTTP_HOST} ^.+\.\x72\x6F\x63\x68\x65\x6E\.\x63\x6F(m|\.uk)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !^/index.php RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC] RewriteCond %{REQUEST_URI} (\/~.+?)\/ RewriteRule (.*) %1/index.php [C] RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] # ########## End - Joomla! core SEF Section (only for temp URLs) ########## 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 ########## End - Rewrite rules to block out some common exploits
Re: 404
Mar 23, 2011 11:08 am by [email protected]
Please!!!!!!!!!!!!! I need help / support. Somebody has to help me. Can somebody please give me an answer????
Re: 404
Mar 23, 2011 11:25 am by Edvard
Hi, I have checked and the translator works. It's just a redirection problem. I think that you have added something, which doesn't let it to work into your .htaccess file. For example this: ## Allow limited access for certain Joomla! system directories with client-accessible content RewriteRule ^((components|modules|plugins|templates)/.*\.(jpe[g,2]?|jpg|png|gif|bmp|css|js|swf|htm[l]?))$ - [L] RewriteRule ^((components|modules|plugins|templates)/.*\.php(.*))$ - [L] RewriteRule ^((components|modules|plugins|templates)/.*index\.php(.*))$ - [L] RewriteRule ^(components|modules|plugins|templates)/.*$ index.php [F,L]
Re: 404
Mar 23, 2011 11:58 am by [email protected]
Edo888, you are a fucking machine. Now it works!!!! I´ll recomend your script to everybody. It´great. And I´ll also need more licences for other pages!!!!! Thanks a lot

Try GTranslate with a free 15 day trial