Visualizzazione risultati 1 fino 28 di 28
Like Tree1Likes
  • 1 Post By RedWebSite

Discussione: Errore su file htcaccess Internal Server Error

  1. #1
    Guest

    Predefinito Errore su file htcaccess Internal Server Error

    Buongiorno non trovo l'errore che mi genera sul sito http://chiaraisabellaghersi.altervista.org/ la mancata apertura e un errore 500 qualcuno sa aiutarmi? Grazie!
    Il file è

    Codice PHP:
    ##
    # @package Joomla
    # @copyright Copyright (C) 2005 - 2014 Open Source Matters. All rights reserved.
    # @license GNU General Public License version 2 or later; see LICENSE.txt
    ##
    ##
    # 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 base64_encode data within the URL.
    RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
    # Block out any script that includes a <script> tag in URL.
    RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%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})
    # Return 403 Forbidden header and show the content of the root homepage
    RewriteRule .* index.php [F]
    #
    ## End - Rewrite rules to block out some common exploits.
    ## Begin - Custom redirects
    #
    # If you need to redirect some pages, or set a canonical non-www to
    # www redirect (or vice versa), place that code here. Ensure those
    # redirects use the correct RewriteRule syntax and the [R=301,L] flags.
    #
    ## End - Custom redirects
    ##
    # Uncomment following line if your webserver's URL
    # is not directly related to physical file paths.
    # Update Your Joomla! Directory (just / for root).
    ##
    # RewriteBase /
    RewriteRule ^([0-9]+)\/([^\d\/]+)([0-9]+)%[0-9]+([0-9]+).*[0-9]+_.*%[0-9]+%[0-9]+P([0-9]+)[0-9]+.*H(.*).*ZXZ.*([0-9]+).*X[0-9]+([^\d\/]+)PU[0-9]+R.*MV[0-9]+.*O.*[0-9]+%[0-9]+([^\d\/]+)%[0-9]+%[0-9]+%[0-9]+%[0-9]+([^\d\/]+).*%[0-9]+%[0-9]+%[0-9]+([0-9]+)%[0-9]+([0-9]+)-%[0-9]+%[0-9]+([^\d\/]+)$ ?$25$24=$6&%{QUERY_STRING}[L]
    RewriteRule ^([^\d\/]+)-([0-9]+)-([0-9]+)$ ?$1$3=$2&%{QUERY_STRING}[L]
    RewriteRule ^([^\d\/]+)-([0-9]+)\/([0-9]+)-[0-9]+..*$ ?$1$2=$3&%{QUERY_STRING}[L]
    ## Begin - Joomla! core SEF Section.
    #
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    #
    # If the requested path and file is not /index.php and the request
    # has not already been internally rewritten to the index.php script
    RewriteCond %{REQUEST_URI} !^/index\.php
    # and the requested path and file doesn't directly match a physical file
    # and the requested path and file doesn't directly match a physical folder
    # internally rewrite the request to the index.php script
    RewriteRule .* index.php [L]
    #
    ## End - Joomla! core SEF Section.
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond
    %{REQUEST_FILENAME} !-d
    RewriteRule
    . index.php [L]

    # # av:PHP-RG
    php_flag register_globals on

    # av:PHP-upload
    php_value upload_max_filesize 20M
    php_value post_max_size 20M
    php_value max_input_time 300
    # PHP-upload
    Ultima modifica di darkwolf : 19-09-2017 alle ore 00.10.29 Motivo: Fix url e +php

  2. #2
    L'avatar di darkwolf
    darkwolf non è connesso Super Moderatore
    Data registrazione
    18-04-2007
    Residenza
    Reggiolo (RE)
    Messaggi
    6,552

    Predefinito

    ##RewriteEngine On

    ???

    Se commentato non funziona!

    Cambialo in:

    RewriteEngine On
    RewriteBase /
    » Salvatore Noschese - L'AltroWeb | Seguimi su: facebook | twitter | Google+
    # Che aspetti? Unisciti alla community! Tanti nuovi gruppi ti aspettano


  3. #3
    L'avatar di darkwolf
    darkwolf non è connesso Super Moderatore
    Data registrazione
    18-04-2007
    Residenza
    Reggiolo (RE)
    Messaggi
    6,552

    Predefinito

    prova con questo (fornito da joomla): https://docs.joomla.org/Preconfigured_htaccess

    Codice PHP:
    ##
    # @package Joomla
    # @copyright Copyright (C) 2005 - 2015 Open Source Matters. All rights reserved.
    # @license GNU General Public License version 2 or later; see LICENSE.txt
    ##

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

    ## No directory listings
    ## IndexIgnore * (noav)

    ## Can be commented out if causes errors, see notes above.
    ## Options +FollowSymlinks (noav)
    ## Options -Indexes (noav)

    ## 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 base64_encode data within the URL.
    RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
    # Block out any script that includes a <script> tag in URL.
    RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%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})
    # Return 403 Forbidden header and show the content of the root homepage
    RewriteRule .* index.php [F]
    #
    ## End - Rewrite rules to block out some common exploits.

    ## Begin - Custom redirects
    #
    # If you need to redirect some pages, or set a canonical non-www to
    # www redirect (or vice versa), place that code here. Ensure those
    # redirects use the correct RewriteRule syntax and the [R=301,L] flags.
    #
    ## End - Custom redirects

    ##
    # 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.
    #
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    #
    # If the requested path and file is not /index.php and the request
    # has not already been internally rewritten to the index.php script
    RewriteCond %{REQUEST_URI} !^/index\.php
    # and the requested path and file doesn't directly match a physical file
    RewriteCond %{REQUEST_FILENAME} !-f
    # and the requested path and file doesn't directly match a physical folder
    RewriteCond %{REQUEST_FILENAME} !-d
    # internally rewrite the request to the index.php script
    RewriteRule .* index.php [L]
    #
    ## End - Joomla! core SEF Section.

    # # av:PHP-RG
    php_flag register_globals on

    # av:PHP-upload
    php_value upload_max_filesize 20M
    php_value post_max_size 20M
    php_value max_input_time 300
    # PHP-upload
    Ultima modifica di darkwolf : 19-09-2017 alle ore 18.56.17 Motivo: modificato!
    » Salvatore Noschese - L'AltroWeb | Seguimi su: facebook | twitter | Google+
    # Che aspetti? Unisciti alla community! Tanti nuovi gruppi ti aspettano


  4. #4
    Guest

    Predefinito

    Mi scuso ho provato a variare il file togliendo ## all'inizio e alla fine ma il risultato è tremendo non c'è più l'errore 500 ma il sito è twrribile www.chiaraisabellaghersi.altervista.org le copio il file htcaccess spero sia solo qui l'errore
    Codice PHP:
    ##
    # @package Joomla
    # @copyright Copyright (C) 2005 - 2014 Open Source Matters. All rights reserved.
    # @license GNU General Public License version 2 or later; see LICENSE.txt
    ##
    ##
    # 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 base64_encode data within the URL.
    RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
    # Block out any script that includes a <script> tag in URL.
    RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%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})
    # Return 403 Forbidden header and show the content of the root homepage
    RewriteRule .* index.php [F]
    #
    ## End - Rewrite rules to block out some common exploits.
    ## Begin - Custom redirects
    #
    # If you need to redirect some pages, or set a canonical non-www to
    # www redirect (or vice versa), place that code here. Ensure those
    # redirects use the correct RewriteRule syntax and the [R=301,L] flags.
    #
    ## End - Custom redirects
    ##
    # Uncomment following line if your webserver's URL
    # is not directly related to physical file paths.
    # Update Your Joomla! Directory (just / for root).
    ##
    RewriteBase /
    RewriteRule ^([0-9]+)\/([^\d\/]+)([0-9]+)%[0-9]+([0-9]+).*[0-9]+_.*%[0-9]+%[0-9]+P([0-9]+)[0-9]+.*H(.*).*ZXZ.*([0-9]+).*X[0-9]+([^\d\/]+)PU[0-9]+R.*MV[0-9]+.*O.*[0-9]+%[0-9]+([^\d\/]+)%[0-9]+%[0-9]+%[0-9]+%[0-9]+([^\d\/]+).*%[0-9]+%[0-9]+%[0-9]+([0-9]+)%[0-9]+([0-9]+)-%[0-9]+%[0-9]+([^\d\/]+)$ ?$25$24=$6&%{QUERY_STRING}[L]
    RewriteRule ^([^\d\/]+)-([0-9]+)-([0-9]+)$ ?$1$3=$2&%{QUERY_STRING}[L]
    RewriteRule ^([^\d\/]+)-([0-9]+)\/([0-9]+)-[0-9]+..*$ ?$1$2=$3&%{QUERY_STRING}[L]
    ## Begin - Joomla! core SEF Section.
    #
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    #
    # If the requested path and file is not /index.php and the request
    # has not already been internally rewritten to the index.php script
    RewriteCond %{REQUEST_URI} !^/index\.php
    # and the requested path and file doesn't directly match a physical file
    # and the requested path and file doesn't directly match a physical folder
    # internally rewrite the request to the index.php script
    RewriteRule .* index.php [L]
    #
    ## End - Joomla! core SEF Section.
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond
    %{REQUEST_FILENAME} !-d
    RewriteRule
    . index.php [L]

    # # av:PHP-RG
    php_flag register_globals on

    # av:PHP-upload
    php_value upload_max_filesize 20M
    php_value post_max_size 20M
    php_value max_input_time 300
    # PHP-upload
    Ultima modifica di darkwolf : 19-09-2017 alle ore 19.51.44 Motivo: +php

  5. #5
    L'avatar di darkwolf
    darkwolf non è connesso Super Moderatore
    Data registrazione
    18-04-2007
    Residenza
    Reggiolo (RE)
    Messaggi
    6,552

    Predefinito

    puoi provare a rimuovere: <base href="http://www.chiaraisabellaghersi.altervista.org/index.php/it/" />
    » Salvatore Noschese - L'AltroWeb | Seguimi su: facebook | twitter | Google+
    # Che aspetti? Unisciti alla community! Tanti nuovi gruppi ti aspettano


  6. #6
    Guest

    Predefinito

    Buongiorno ho provato a copiarlo ma il risultato era uguale ora l ho cancellato e sono andata su alterità semplificato ho scritto al numero indicato può funzionare?

  7. #7
    L'avatar di RedWebSite
    RedWebSite non è connesso AlterGuru
    Data registrazione
    02-05-2007
    Messaggi
    1,047

    Predefinito

    Ciao, usa questo è l'originale di joomla con le giuste modifiche per altervista, che sono 2, cioè commentare Options +FollowSymlinks e decommentare #RewriteBase / In questo modo puoi attivare tutte le opzioni SEO nel pannello di controllo di joomla in modo da rimuovere anche /index.php/ dal URL, per approfondire puoi leggere, Configurare SEO Joomla! e PHP ALtervista, la parte del php lasciala stare tanto ora di default sui server c'è la 5.6.x ultima disponibile su altervista! facci sapere
    Codice:
    ##
    # @package    Joomla
    # @copyright  Copyright (C) 2005 - 2017 Open Source Matters. All rights reserved.
    # @license    GNU General Public License version 2 or later; see LICENSE.txt
    ##
    
    ##
    # READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE!
    #
    # The line 'Options +FollowSymLinks' may cause problems with some server configurations.
    # It is required for the use of mod_rewrite, but it may have already been set by your 
    # server administrator in a way that disallows changing it in this .htaccess file.
    # If using it causes your site to produce an error, comment it out (add # to the 
    # beginning of the line), reload your site in your browser and test your sef urls. If 
    # they work, then it has been set by your server administrator and you do not need to 
    # set it here.
    ##
    
    ## No directory listings
    <IfModule autoindex>
      IndexIgnore *
    </IfModule>
    
    ## Can be commented out if causes errors, see notes above.
    #Options +FollowSymlinks
    Options -Indexes
    
    ## Mod_rewrite in use.
    
    RewriteEngine On
    
    ## Begin - Rewrite rules to block out some common exploits.
    # If you experience problems on your site then comment out the operations listed 
    # below by adding a # to the beginning of the line.
    # This attempts to block the most common type of exploit `attempts` on Joomla!
    #
    # Block any script trying to base64_encode data within the URL.
    RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
    # Block any script that includes a <script> tag in URL.
    RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
    # Block any script trying to set a PHP GLOBALS variable via URL.
    RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
    # Block any script trying to modify a _REQUEST variable via URL.
    RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
    # Return 403 Forbidden header and show the content of the root home page
    RewriteRule .* index.php [F]
    #
    ## End - Rewrite rules to block out some common exploits.
    
    ## Begin - Custom redirects
    #
    # If you need to redirect some pages, or set a canonical non-www to
    # www redirect (or vice versa), place that code here. Ensure those
    # redirects use the correct RewriteRule syntax and the [R=301,L] flags.
    #
    ## End - Custom redirects
    
    ##
    # Uncomment the 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.
    #
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    #
    # If the requested path and file is not /index.php and the request
    # has not already been internally rewritten to the index.php script
    RewriteCond %{REQUEST_URI} !^/index\.php
    # and the requested path and file doesn't directly match a physical file
    RewriteCond %{REQUEST_FILENAME} !-f
    # and the requested path and file doesn't directly match a physical folder
    RewriteCond %{REQUEST_FILENAME} !-d
    # internally rewrite the request to the index.php script
    RewriteRule .* index.php [L]
    #
    ## End - Joomla! core SEF Section.
    darkwolf likes this.
    alterjoomla sito web dedicato a joomla ed altervista - Tante guide per joomla anche su RedWebSite
    "C'è una fondamentale differenza tra la religione, che è basata sull'autorità, e la scienza, che è basata su osservazione e ragionamento. E la scienza vincerà perché funziona."

  8. #8
    Guest

    Predefinito

    Mi scuso pEr le troppe mail ho caricato il semplificato ma il sito lo vedo male può dipendere dal hrcacess semplificato o da qualcos'altro? Invece della home vedo una pagina index http://www.chiaraisabellaghersi.alte.../index.php/it/ cosa devo fare? Se scrivo home al posto di index viene un messaggio di errore. Grazie!

  9. #9
    Guest

    Predefinito

    grazie! ho copiato quanto mi hai inviato il sito ora appare come index ho provato ad entrare come amministratore per modificare la seo ma non c'e' verso
    cosa sbaglio?
    ora il sito e' http://chiaraisabellaghersi.altervis.../index.php/it/
    per entrare io scrivo al posto di index.php/it/ - administrator - ma compare un messaggio di errore 404
    grazie!

  10. #10
    L'avatar di RedWebSite
    RedWebSite non è connesso AlterGuru
    Data registrazione
    02-05-2007
    Messaggi
    1,047

    Predefinito

    Buon giorno! devi utilizzare quello che ti ho inserito nel post sopra, vai al tab Modifica sorgente .htaccess (Avanzato) rimuovi tutto ed inserisci quello!
    alterjoomla sito web dedicato a joomla ed altervista - Tante guide per joomla anche su RedWebSite
    "C'è una fondamentale differenza tra la religione, che è basata sull'autorità, e la scienza, che è basata su osservazione e ragionamento. E la scienza vincerà perché funziona."

  11. #11
    L'avatar di RedWebSite
    RedWebSite non è connesso AlterGuru
    Data registrazione
    02-05-2007
    Messaggi
    1,047

    Predefinito

    scusa non avevo letto questo post
    Citazione Originalmente inviato da chiaraisabellaghersi Visualizza messaggio
    grazie! ho copiato quanto mi hai inviato il sito ora appare come index ho provato ad entrare come amministratore per modificare la seo ma non c'e' verso
    cosa sbaglio?
    ora il sito e' http://chiaraisabellaghersi.altervis.../index.php/it/
    per entrare io scrivo al posto di index.php/it/ - administrator - ma compare un messaggio di errore 404
    grazie!
    c'è qualche casino sul sito perche il link di accesso al pannello di joomla è questo ma dà errore chiaraisabellaghersi.altervista.org/administrator/ non è che hai inserito per errore qualche .htaccess anche nella cartella administrator?
    alterjoomla sito web dedicato a joomla ed altervista - Tante guide per joomla anche su RedWebSite
    "C'è una fondamentale differenza tra la religione, che è basata sull'autorità, e la scienza, che è basata su osservazione e ragionamento. E la scienza vincerà perché funziona."

  12. #12
    Guest

    Predefinito

    Ho ricopiato nuovamente il file che mi hai inviato e controllato la cartella administrator dove vedo solo il file index. Non ho duplicato il file sicuramente perché le variazioni le ho fatte da alterivista con lo smartphone dovrei entrarre per modificare le impostazioni seo ma non c'è verso...

  13. #13
    L'avatar di RedWebSite
    RedWebSite non è connesso AlterGuru
    Data registrazione
    02-05-2007
    Messaggi
    1,047

    Predefinito

    ma non è che per caso utilizzi qualche estensione che protegge l'area amministrativa di joomla?
    alterjoomla sito web dedicato a joomla ed altervista - Tante guide per joomla anche su RedWebSite
    "C'è una fondamentale differenza tra la religione, che è basata sull'autorità, e la scienza, che è basata su osservazione e ragionamento. E la scienza vincerà perché funziona."

  14. #14
    darbula non è connesso AlterGuru 2500
    Data registrazione
    24-04-2011
    Messaggi
    2,894

    Predefinito

    Io ho scaricato joomla 3.8.0 dal sito joomla.org e ho editato htaccess.txt deccommendando tutto (togliere il cancelletto "#") modificato /index.php in index.php (poiché la REQUEST_URI ritorna questo senza lo slash iniziale) nota* sarebbe opputuno verificare se nel virtuale host inizi per "/" o no.. Poi ho scaricato le lingue e successivamente entro nell'area amministrativa senza problemi.
    Nota che per la versione 3.8.0 registar global deve essere su off..
    Codice PHP:
    ##
    # @package Joomla
    # @copyright Copyright (C) 2005 - 2017 Open Source Matters. All rights reserved.
    # @license GNU General Public License version 2 or later; see LICENSE.txt
    ##

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

    ## No directory listings
    <IfModule autoindex>
    IndexIgnore *
    </
    IfModule>

    ## Can be commented out if causes errors, see notes above.
    Options +FollowSymlinks
    Options
    -Indexes

    ## Mod_rewrite in use.

    RewriteEngine On

    ## Begin - Rewrite rules to block out some common exploits.
    # If you experience problems on your site then comment out the operations listed
    # below by adding a # to the beginning of the line.
    # This attempts to block the most common type of exploit `attempts` on Joomla!
    #
    # Block any script trying to base64_encode data within the URL.
    RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
    # Block any script that includes a <script> tag in URL.
    RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
    # Block any script trying to set a PHP GLOBALS variable via URL.
    RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
    # Block any script trying to modify a _REQUEST variable via URL.
    RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
    # Return 403 Forbidden header and show the content of the root home page
    RewriteRule .* index.php [F]
    #
    ## End - Rewrite rules to block out some common exploits.

    ## Begin - Custom redirects
    #
    # If you need to redirect some pages, or set a canonical non-www to
    # www redirect (or vice versa), place that code here. Ensure those
    # redirects use the correct RewriteRule syntax and the [R=301,L] flags.
    #
    ## End - Custom redirects

    ##
    # Uncomment the 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.
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    #
    # If the requested path and file is not /index.php and the request
    # has not already been internally rewritten to the index.php script
    RewriteCond %{REQUEST_URI} !^index\.php
    # and the requested path and file doesn't directly match a physical file
    RewriteCond %{REQUEST_FILENAME} !-f
    # and the requested path and file doesn't directly match a physical folder
    RewriteCond %{REQUEST_FILENAME} !-d
    # internally rewrite the request to the index.php script
    RewriteRule .* index.php [L]
    #
    ## End - Joomla! core SEF Section.
    ovviamente prima ho rinominato htaccess.txt in .htaccess

  15. #15
    Guest

    Predefinito

    Grazie ho però questo problema altervista ha la versione 3.7.1 e io non ho più il PC sto usando uno smartphone e vario htacess direttamente dal pannello alterivista domani provo a decommentare tutto e a togliene / da index grazie! Ti faccio sapere

  16. #16
    darbula non è connesso AlterGuru 2500
    Data registrazione
    24-04-2011
    Messaggi
    2,894

    Predefinito

    Anch'io uso uno smartphone ed uso ES file explorer che è pure un cliente FTP...
    Modifica
    Codice PHP:
    RewriteCond %{REQUEST_URI} !^/index\.php
    In
    Codice PHP:
    RewriteCond %{REQUEST_URI} !^index\.php
    cioè solo lo slash iniziale.. Ovviamente deccomenta tutto
    Ultima modifica di darbula : 25-09-2017 alle ore 19.01.46

  17. #17
    Guest

    Predefinito

    Buonasera ho rifatto tutto conservando la versione 3.7 perché non so come aggiornare alla successiva senza entrare in amministrazione. Il risultato è uguale l'unica cosa che noto è che se apro il file index l home page è perfetta. Cosa posso ancora provare?
    Il file htaccess attuale è
    ##
    # @package Joomla
    # @copyright Copyright (C) 2005 - 2017 Open Source Matters. All rights reserved.
    # @license GNU General Public License version 2 or later; see LICENSE.txt
    ##
    ##
    # READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE!
    #
    # The line 'Options +FollowSymLinks' may cause problems with some server configurations.
    # It is required for the use of mod_rewrite, but it may have already been set by your
    # server administrator in a way that disallows changing it in this .htaccess file.
    # If using it causes your site to produce an error, comment it out (add # to the
    # beginning of the line), reload your site in your browser and test your sef urls. If
    # they work, then it has been set by your server administrator and you do not need to
    # set it here.
    ##
    ## No directory listings
    <IfModule autoindex>
    IndexIgnore *
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . index.php [L]
    </IfModule>
    ## Can be commented out if causes errors, see notes above.
    Options +FollowSymlinks
    Options -Indexes
    ## Mod_rewrite in use.
    RewriteEngine On
    ## Begin - Rewrite rules to block out some common exploits.
    # If you experience problems on your site then comment out the operations listed
    # below by adding a # to the beginning of the line.
    # This attempts to block the most common type of exploit `attempts` on Joomla!
    #
    # Block any script trying to base64_encode data within the URL.
    RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
    # Block any script that includes a <script> tag in URL.
    RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
    # Block any script trying to set a PHP GLOBALS variable via URL.
    RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
    # Block any script trying to modify a _REQUEST variable via URL.
    RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
    # Return 403 Forbidden header and show the content of the root home page
    RewriteRule .* index.php [F]
    #
    ## End - Rewrite rules to block out some common exploits.
    ## Begin - Custom redirects
    #
    # If you need to redirect some pages, or set a canonical non-www to
    # www redirect (or vice versa), place that code here. Ensure those
    # redirects use the correct RewriteRule syntax and the [R=301,L] flags.
    #
    ## End - Custom redirects
    ##
    # Uncomment the following line if your webserver's URL
    # is not directly related to physical file paths.
    # Update Your Joomla! Directory (just / for root).
    ##
    RewriteBase /
    RewriteRule ^([^\d\/]+)-([0-9]+)\/([0-9]+)-[0-9]+..*$ ?$1$2=$3&%{QUERY_STRING}[L]
    ## Begin - Joomla! core SEF Section.
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    #
    # If the requested path and file is not /index.php and the request
    # has not already been internally rewritten to the index.php script
    RewriteCond %{REQUEST_URI} !^index\.php
    # and the requested path and file doesn't directly match a physical file
    # and the requested path and file doesn't directly match a physical folder
    # internally rewrite the request to the index.php script
    RewriteRule .* index.php [L]
    #
    ## End - Joomla! core SEF Section

  18. #18
    Guest

    Predefinito

    Dimenticavo questa è una URL dalla pagina index che funziona non riesco più ad accedere come amministratore ma il sito si vede http://chiaraisabellaghersi.altervis...-nostra-storia

  19. #19
    darbula non è connesso AlterGuru 2500
    Data registrazione
    24-04-2011
    Messaggi
    2,894

    Predefinito

    Puoi provare a svuotare la cache del tuo browser?

  20. #20
    Guest

    Predefinito

    Si ho provato sbaglio qualcosa e non capisco cosa

  21. #21
    Guest

    Predefinito

    Posso darti le mie pw?

  22. #22
    darbula non è connesso AlterGuru 2500
    Data registrazione
    24-04-2011
    Messaggi
    2,894

    Predefinito

    No perché non credo che il problema sia il .htaccess.. Rinomina .htaccess in htaccess.txt.. Svuota la cache del browser e solo se hai attivo CloudFlare abilita la modalità di sviluppo (svuota cache server)...
    Io sono convinto che hai tutti i link errati (non dovrebbero essere con quel percorso)... Solo che non capisco il perché.
    Nota* cosi controlli se puoi accedere all'amministrazione o meglio al file (non credo che riconosce il login) http://chiaraisabellaghersi.altervista.org/administrator/
    Dopo questa prova rimetti .htaccess
    2) ipotesi 2.. Per caso utilizzi la cache in joomla? https://www.google.it/amp/www.joomla...mp.html?espv=1 io analizzando http://stop.altervista.org/ ricevo una location (/index/it/) mentre con il tuo sito no
    Ultima modifica di darbula : 30-09-2017 alle ore 14.14.06

  23. #23
    Guest

    Predefinito

    ciao scusa se ancora ti stresso :
    ho provato a salvare in txt ma gestisco il ftp da altervista e sul file htaccess ho solo modifica ed elimina e non vedo l'estensione
    grazie!



    File Dimensione Data

    administrator - 19/10/2014

    bin - 19/10/2014

    cache - 19/03/2016

    cli - 19/10/2014

    components - 08/01/2016

    images - 05/05/2016

    includes - 19/10/2014

    language - 19/10/2014

    layouts - 19/10/2014

    libraries - 19/10/2014

    logs - 12/11/2014

    media - 08/01/2016

    modules - 25/09/2015

    plugins - 10/02/2015

    templates - 15/11/2014

    tmp - 12/01/2016
    -
    .htaccess Modifica | Elimina 3 KB 02/10/2017

    LICENSE.txt 17 KB 19/10/2014

    README.txt 4 KB 19/10/2014

    configuration.php 2 KB 12/01/2016

    index.php 80 KB 28/04/2016

    robots.txt 832 byte 08/01/2016

    sitemap.xml 13 KB 08/01/2016

    web.config.txt 1 KB 19/10/2014

    wp-datas.php 3 KB 21/03/2016

  24. #24
    darbula non è connesso AlterGuru 2500
    Data registrazione
    24-04-2011
    Messaggi
    2,894

    Predefinito

    Buongiorno a tutti... Tranquilla in un forum lo scopo principale è "scambiare opinioni", noto che sei consapevole che nulla ti sia dovuto (nonché un tasso d'umiltà che al giorno d'oggi manca).. Non mi riferivo dal pannello altervista ma da un cliente FTP... Sicuramente esisteranno anche per il tuo cellulare :)... Mi dispiace a non poterti aiutare ma non ho idea di cosa sia successo al tuo sito... Cmq. i link vengono riscritti in modo errato (non per .htaccess ma per altro).. Prima del malfunzionamento hai installato qualcosa?
    Fai un backup del configuration.php è modifica queste voci in questo modo e senza parentesi tonde delimitatrici (public $sef = '1';
    public $sef_rewrite = '0';
    public $sef_suffix = '0';)
    Mi raccomando per la copia del file (può sempre tornare utile in situazioni d'errore)
    Puoi anche rispondermi a questa domanda? Mi dici se esiste questo percorso, il primo slash "/" dopo il nome del sito indica la root mentre gli altri slash indicano la cartella in questione.. http://chiaraisabellaghersi.altervista.org/modules/mod_itpsocialbuttons/style.css
    Ultima modifica di darbula : 02-10-2017 alle ore 10.41.32

  25. #25
    L'avatar di RedWebSite
    RedWebSite non è connesso AlterGuru
    Data registrazione
    02-05-2007
    Messaggi
    1,047

    Predefinito

    prova a ricaricare la cartella administrator in FTP sovrascrivendo, non verranno sovrascritti i file delle estensioni di terza parte, cioè non di joomla, la cartella da caricare la devi prendere da un pacchetto joomla della tua stessa IDENTICA versione, cioè quella che hai nel tuo spazio web
    alterjoomla sito web dedicato a joomla ed altervista - Tante guide per joomla anche su RedWebSite
    "C'è una fondamentale differenza tra la religione, che è basata sull'autorità, e la scienza, che è basata su osservazione e ragionamento. E la scienza vincerà perché funziona."

  26. #26
    darbula non è connesso AlterGuru 2500
    Data registrazione
    24-04-2011
    Messaggi
    2,894

    Predefinito

    Uhm redwebsite puoi confermare quali sono i file di joomla? Ad esempio wp-datas.php è di wordpress (per giunta con data posteriore all'installazione di joomla... Temo che sia accaduto un misto frutta tra joomla e wordpress)
    Ultima modifica di darbula : 02-10-2017 alle ore 14.43.52

  27. #27
    L'avatar di RedWebSite
    RedWebSite non è connesso AlterGuru
    Data registrazione
    02-05-2007
    Messaggi
    1,047

    Predefinito

    Se mi dici che ci sono file di wordpress nello spazio web una soluzione è scaricare da qui https://downloads.joomla.org/it/cms/joomla3 la stessa versione di joomla presente nello spazio web, deve essere esattamente la stessa, rimuovere tutto dallo spazio web, tranne il file configuration.php, la cartella images ed eventuali altre cartelle che contengono file esempio di componenti di download, gallery, ecc...,, collegarsi al DB tramite phpmyadmin rimuovere tutte le eventuali tabelle di WP, caricare joomla scaricato precedentemente tranne la cartella installation, collegarsi al pannello di joomla, aggiornare joomla, reinstallare tutte le estensioni di terza parte componenti/plugin/template aggiornati all'ultima versione, la configurazione sarà la stessa visto che è salvata sul database.

    Altra soluzione, un pò piu lunga ma piu pulita, tramite phpmyadmin esportare dal database le tabelle dei contenuti e degli utenti, volendo, ma io di solito non lo faccio meglio riconfigurare, anche quelle di componenti di terza parte, tipo gallerie foto, componenti di download,ecc..., rimuovere tutto dallo spazio web,tranne la cartella images ed eventuali altre cartelle che contengono file esempio di componenti di download, gallery, ecc...,, e dal database, effettuare una installazione pulita di joomla utilizzando lo stesso prefisso delle tabelle attuale, joomla deve essere stessa identica versione presente ora, eliminare le tabelle contenuti ed utenti della nuova installazione ed importare quelle "precedenti", reinstallarsi estensioni eccc e riconfigurare.

    Prima di effettuare qualsiasi operazione fare un backup completo di tutto file e database

    Edit: se la stessa versione installata ora riesci a trovarla su http://joomla.it//download è meglio la installi subito in italiano, altrimenti se non c'è, mi raccomando, in fase di installazione non cancellare subito la cartella installation e fai la configurazione per il multilingua selezionando l'italiano, poi devi disabilitare il multilingua se non necessario.
    Ultima modifica di RedWebSite : 02-10-2017 alle ore 20.20.37
    alterjoomla sito web dedicato a joomla ed altervista - Tante guide per joomla anche su RedWebSite
    "C'è una fondamentale differenza tra la religione, che è basata sull'autorità, e la scienza, che è basata su osservazione e ragionamento. E la scienza vincerà perché funziona."

  28. #28
    Guest

    Predefinito

    Innanzi tutto vi ringrazio tantissimo per tutte le risposte che mi avete dato. Ho trovato nella cartella cms la versione che è la 3.3.6 e nei prossimi giorni cercherò di sostituirla ma ho già visto che la situazione non è semplice per le il tipo di conoscenze che ho. La tentazione è quella di rifarlo! Proverò comunque a seguire le Vs indicazioni prima, grazie ancora (non metto risolto perché vi farò sapere come è andata!) 😍

Regole di scrittura

  • Non puoi creare nuove discussioni
  • Non puoi rispondere ai messaggi
  • Non puoi inserire allegati.
  • Non puoi modificare i tuoi messaggi
  •