Back to top

Autore Topic: Errore 404 sh404SEF + JoomFish 2.0.1  (Letto 3690 volte)

Offline youngthug

  • Nuovo arrivato
  • *
  • Post: 5
    • Mostra profilo
Errore 404 sh404SEF + JoomFish 2.0.1
« il: 05 Apr 2009, 22:19:18 »
Salve a tutti, sto realizzando un sito con Joomla! e prima di pubblicarlo su un webhost a pagamento lo sto realizzando in locale sul mio pc. Il sito sarà disponibile in tre lingue Inglese (lingua di default), Italiano e Spagnolo, quindi per questo ho installato JoomFish 2.0.1 la versione di Joomla è la 1.5.9 .
Fino ad adesso tutto ok ma da quando ho provato ad attivare il mod_rewrite con le opzioni SEO native di joomla ho avuto errori 404 per tutte le pagine tranne che per la home in inglese, credendo che ci fosse bisogno di un componente più avanzato ho disattivato le 3 opzioni SEO di Joomla e ho installato sh404SEF 1.0.19 Beta build 232 ma attivando l' .htcaccess con questo componente il risultato non cambia. Joomla è in una sottocartella chiamata joomla e non nella root del server quindi ho messo l' .htcaccess nella root e ho specificato la cartella di joomla, inoltre anche se mi da errore 404 le opzioni SEO sembrano funzionare perchè effettivamente gli url cambiano e in particolare attivando il mod_rewrite si può notare la mancanza della parte index.php.
Qui scrivo alcune caratteristiche del server:
Windows xp professional sp3
Apache 2.2.11
PHP 5.2.8
MySQL 5.0.67
per installare questi componenti sul pc ho seguito lestruzioni del sito html.it

volevo aggiungere che è installato anche xmap per creare una sitemap e virtuemart perchè il sito dovrà contenere sezioni e categorie multiple anche se al momento non è stato assolutamente utilizzato per creare nessun tipo di contenuto sezione o categoria.

questo è il mio .htaccess
Codice: [Seleziona]
##
# @version $Id: htaccess.txt 10492 2008-07-02 06:38:28Z ircmaxell $
# @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.
Options +FollowSymLinks

#
#  mod_rewrite in use

RewriteEngine On

########## 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!
#
# 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]
#
########## 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 /joomla


########## 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


Ovviamente disattivando il mod_rewrite tutto torna a funzionare correttamente ma aventdo quel maledetto index.php nell' url.
Ho provato veramente di tutto ho letto un sacco di post guide etc ho anche provato vari componenti come joomsef (peggio) non so più cosa fare, spero mi possiate aiutare, e grazie in aticipo per il vostro aiuto.

Offline taolo

  • Global Moderator
  • Instancabile
  • *****
  • Post: 3651
  • Sesso: Maschio
    • Mostra profilo
Re: Errore 404 sh404SEF + JoomFish 2.0.1
« Risposta #1 il: 06 Apr 2009, 03:09:23 »
Ho letto... "ho disattivato le tre funzioni seo di joomla".

No... le prime due voci devono essere su "si".
Ogni tanto passo da Joomla Blog! Un blog su Joomla

Offline youngthug

  • Nuovo arrivato
  • *
  • Post: 5
    • Mostra profilo
Re: Errore 404 sh404SEF + JoomFish 2.0.1
« Risposta #2 il: 06 Apr 2009, 15:22:27 »
Le prime due sarebbero Friendly URL per i motori di ricerca e Utilizza mod_rewrite?
e dovrebbero essere attivate anche se è installato e attivo sh404SEF?
ho letto su una guida che se si attiva uno bisogna disattivare l'altro cmq ho provato e il risultato non cambia

Offline youngthug

  • Nuovo arrivato
  • *
  • Post: 5
    • Mostra profilo
Re: Errore 404 sh404SEF + JoomFish 2.0.1
« Risposta #3 il: 06 Apr 2009, 19:30:29 »
Perfavore se qualcuno ha una soluzione lo scriva perchè non posso andare avanti nello sviluppo del sito se non risolvo prima questo problema grazie.

Offline taolo

  • Global Moderator
  • Instancabile
  • *****
  • Post: 3651
  • Sesso: Maschio
    • Mostra profilo
Re: Errore 404 sh404SEF + JoomFish 2.0.1
« Risposta #4 il: 06 Apr 2009, 22:44:48 »
Le due voci da te citate devono essere su "si", e tutto dovrebbe funzionare.
Ogni tanto passo da Joomla Blog! Un blog su Joomla

Offline youngthug

  • Nuovo arrivato
  • *
  • Post: 5
    • Mostra profilo
Re: Errore 404 sh404SEF + JoomFish 2.0.1
« Risposta #5 il: 06 Apr 2009, 23:58:40 »
Ho riprovato ma continua a non funzionare non è che devo modificare il .htcaccess?

Offline taolo

  • Global Moderator
  • Instancabile
  • *****
  • Post: 3651
  • Sesso: Maschio
    • Mostra profilo
Re: Errore 404 sh404SEF + JoomFish 2.0.1
« Risposta #6 il: 07 Apr 2009, 22:52:08 »
Prova a decommentare (togliere o mettere #) in queste righe


Options +FollowSymLinks

#  mod_rewrite in use
Ogni tanto passo da Joomla Blog! Un blog su Joomla

Offline youngthug

  • Nuovo arrivato
  • *
  • Post: 5
    • Mostra profilo
Re: Errore 404 sh404SEF + JoomFish 2.0.1
« Risposta #7 il: 14 Apr 2009, 15:51:48 »
niente da fare ho gia provato tutto

 



Web Design Bolzano Kreatif