Back to top

Autore Topic: file .htaccess  (Letto 2458 volte)

Offline miki64

  • Esploratore
  • **
  • Post: 60
    • Mostra profilo
file .htaccess
« il: 15 Ago 2009, 14:42:20 »
devo aver fatto un altra sciocchezza :'( ieri ho  rinominato il file httaccess.txt in .httaccess per provare le impostazioni seo ma oggi non entro più nel sito. mi da sempre errore, è sparito. cosa devo fare.
è nato un nuovo sito joomla

Offline miki64

  • Esploratore
  • **
  • Post: 60
    • Mostra profilo
Re:file .htaccess
« Risposta #1 il: 15 Ago 2009, 14:59:38 »
ecco ho risolto leggendo un altro post ;D, mi rimane sempre il problema del SEO che non funziona.
è nato un nuovo sito joomla

Offline maicolstaip

  • Global Moderator
  • Instancabile
  • ********
  • Post: 17623
  • Sesso: Maschio
    • Mostra profilo
Non si risponde a PM tecnici. Postate sul forum. Grazie.

Offline s1mon3

  • Nuovo arrivato
  • *
  • Post: 21
    • Mostra profilo
Re:file .htaccess
« Risposta #3 il: 15 Ago 2009, 17:33:29 »
Ciao miki64.
Io sul mio hosting avevo il tuo problema, dal file htaccess ho commentato (la riga 23) Options +FollowSymLinks diventando #Options +FollowSymLinks e risolto il problema, seo funzionante :D .
fai una copia di sicurezza del file e prova a modificare.
« Ultima modifica: 17 Ago 2009, 15:44:02 da s1mon3 »

Offline danny_boy

  • Nuovo arrivato
  • *
  • Post: 30
  • Sesso: Maschio
  • Giust doìt
    • Mostra profilo
Re:file .htaccess
« Risposta #4 il: 17 Set 2009, 00:15:35 »
per la miseria io sono andato e il mio file é htacces senza txt ma anche senza .htacces ho provato a cercare la riga option etc che dite voi ma non c'è nulla, tra l'altro ho provato a rinominare il file in .htacces e come soluzione non mi si vede più nemmeno l'home page ergo inoltro il testo del mio file htacces e se qualcuno mi dice cosa dove scrivere mi fa un mega piacere!!!!
grazie !
 ???

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


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

Offline maicolstaip

  • Global Moderator
  • Instancabile
  • ********
  • Post: 17623
  • Sesso: Maschio
    • Mostra profilo
Re:file .htaccess
« Risposta #5 il: 17 Set 2009, 11:19:43 »
Questo a me funziona.
Ricordati di rinominarlo in
Codice: [Seleziona]
.htaccess
[allegato vecchio più di un anno eliminato automaticamente]
Non si risponde a PM tecnici. Postate sul forum. Grazie.

Offline danny_boy

  • Nuovo arrivato
  • *
  • Post: 30
  • Sesso: Maschio
  • Giust doìt
    • Mostra profilo
Re:file .htaccess
« Risposta #6 il: 17 Set 2009, 23:15:51 »
grazie appena metto le mani sul mio pc lo provo spero non sia un problema di "carruba"...

Offline danny_boy

  • Nuovo arrivato
  • *
  • Post: 30
  • Sesso: Maschio
  • Giust doìt
    • Mostra profilo
Re:file .htaccess[risolto]
« Risposta #7 il: 25 Set 2009, 15:03:47 »
miracolo funziona! grazie

 



Web Design Bolzano Kreatif