Back to top

Autore Topic: [RISOLTO] Problema con il file htaccess.txt  (Letto 3659 volte)

Offline bolla85

  • Esploratore
  • **
  • Post: 50
  • Sesso: Maschio
    • Mostra profilo
[RISOLTO] Problema con il file htaccess.txt
« il: 24 Mar 2010, 16:24:19 »
ho un problema con il mio sito http://www.bolladesign.it/ che ho appena creato, ossia ho modificato il file .htaccess come spiegato dalla guida ma quando apro il sito è navigabile solo la prima pagina.se provo ad aprire una rticolo o una voce del menù mi da questo messaggio di errore:  Errore 404
File non trovato
L'indirizzo inserito non è più disponibile oppure è errato. Verifica di aver digitato correttamente dopodichè avvisa il webmaster del problema incontrato.

Il sito l'ho spostato nella root del server
quale può essere il problema secondo voi?
posto il contenuto del file htaccess.txt qui:

##
# @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.
Options +FollowSymLinks

#
#  mod_rewrite in use

RewriteEngine On
RewriteRule ^htdocs/(.*)$ /$1 [R=301,L]

########## 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
« Ultima modifica: 24 Mar 2010, 21:42:35 da bolla85 »

Offline frascan

  • Global Moderator
  • Instancabile
  • ********
  • Post: 4996
  • Sesso: Maschio
    • Mostra profilo
Re:Problema con il file htaccess.txt
« Risposta #1 il: 24 Mar 2010, 16:36:20 »
Ciao e benvenuto sul forum.
Prova a commentare la riga seguente:

Codice: [Seleziona]
##  Can be commented out if causes errors, see notes above.
Options +FollowSymLinks
Per la natura stessa delle cose un esploratore non può mai sapere che cosa stia esplorando finché l’esplorazione non sia stata compiuta.

Offline bolla85

  • Esploratore
  • **
  • Post: 50
  • Sesso: Maschio
    • Mostra profilo
Re:Problema con il file htaccess.txt
« Risposta #2 il: 24 Mar 2010, 16:45:33 »
ok ho fatto come dici tu ma nulla.
Inoltre se provo a cercare il mio sito su google non si vede nemmeno se cerco bolladesign.it..perchè?il mio host è ******.può dipendere da questo?
Ho già provato a rinominare il file htaccess.txt in .htaccess ma se lo faccio non funziona proprio più nulla.
che devo fare?
« Ultima modifica: 24 Mar 2010, 18:14:55 da bolla85 »

Offline frascan

  • Global Moderator
  • Instancabile
  • ********
  • Post: 4996
  • Sesso: Maschio
    • Mostra profilo
Re:Problema con il file htaccess.txt
« Risposta #3 il: 24 Mar 2010, 19:00:46 »
Se pensi che possa dipendere dal tuo hosting (non fare riferimenti commerciali che non sono ammessi sul forum) allora forse è il caso di fare una segnalazione al loro supporto tecnico per vedere cosa dicono.
Per la natura stessa delle cose un esploratore non può mai sapere che cosa stia esplorando finché l’esplorazione non sia stata compiuta.

Offline bolla85

  • Esploratore
  • **
  • Post: 50
  • Sesso: Maschio
    • Mostra profilo
Re:Problema con il file htaccess.txt
« Risposta #4 il: 24 Mar 2010, 19:13:26 »
ok scusami.ho provato a cercare sul portale del mio host ma non ne parla proprio..e inoltra non esiste un contatto a cui segfnalare il mio problema..incredible!ma secondo te può essere un problema causato dal mio host?cosa mi consigli di fare?sto pensando addirittura di cambiare host..perchè qui non ne vengo a capo..
« Ultima modifica: 24 Mar 2010, 19:16:13 da bolla85 »

Offline frascan

  • Global Moderator
  • Instancabile
  • ********
  • Post: 4996
  • Sesso: Maschio
    • Mostra profilo
Re:Problema con il file htaccess.txt
« Risposta #5 il: 24 Mar 2010, 19:21:59 »
così a scatola chiusa è difficile dirti da cosa possa dipendere.
la cosa che mi lascia stupito è che non c'è o non riesci a trovare un riferimento per contattare il supporto tecnico del tuo hosting.
tieni presente che anche se decidi di cambaire hosting devi sempre contattare il loro supporto per avviare le procedure di trasferimento per cui ti è necessario trovare un riferimento per contattarli
Per la natura stessa delle cose un esploratore non può mai sapere che cosa stia esplorando finché l’esplorazione non sia stata compiuta.

Offline bolla85

  • Esploratore
  • **
  • Post: 50
  • Sesso: Maschio
    • Mostra profilo
Re:Problema con il file htaccess.txt
« Risposta #6 il: 24 Mar 2010, 21:25:31 »
il problema si è magicamente risolto da solo dopo 3 ore.giuro! ti ringrazio comunque per le tue celeri risposte. e scusa ma non era mia intenzione fare pubblicità al mio host ma l'ho menzionato solo x rendere più completa la mia domanda.grazie ciao

Offline frascan

  • Global Moderator
  • Instancabile
  • ********
  • Post: 4996
  • Sesso: Maschio
    • Mostra profilo
Re:Problema con il file htaccess.txt
« Risposta #7 il: 24 Mar 2010, 21:27:31 »
a questo punto se si è magicamente risolto mi sorge il dubbio che qualcosa era successo sul server che ospita il tuo sito  ;)
Inserisci il classico [RISOLTO] all'inizio del titolo del tuo primo intervento.
Grazie :)
Per la natura stessa delle cose un esploratore non può mai sapere che cosa stia esplorando finché l’esplorazione non sia stata compiuta.

 



Web Design Bolzano Kreatif