Joomla.it Forum
Joomla! 2.5 (versione con supporto terminato) => Joomla! 1.6/1.7/2.5 => : fm.tangerine 06 Mar 2013, 10:51:32
-
ho caricato il mio sito fatto in joomla 2.5:
inizialmente non mi faceva vedere niente, e mi mostrava il messaggio 500 Internal server Error.
Poi ho cambiato i permessi delle cartelle tutti a 755.
Ora il sito me lo fa vedere ma non mi fa vedere il lato admin e mi mostra il 500 Internal server Error.
qualcuno può aiutarmi??
-
aggiungi il link così vedo se anche a me dà l'errore!!
-
http://www.calendimaggiodiassisi.com/administrator/
-
I configuration e . htacces sono apposto?
-
credo di si...
cosa potrei aver sbagliato??
-
Le cause non credo possano essere molte, nel senso, se in locale funzionava, in remoto deve funzionare...
Ti consiglio di fare 2 prove.
1- controllare il file .htaccess... controlla che sia nominato proprio così .htaccess
2- controllare i permessi della cartella publich_html.. deve avere 755 e non 777
magari postaci il file .htaccess
-
ecco il mio .htaccess:
DirectoryIndex index.php
RewriteEngine On
RewriteBase /
########## 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
# 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
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]
-
Fai una copia del tuo file e prova con questo
RewriteEngine On
RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
RewriteRule .* index.php [F]
RewriteBase /
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{REQUEST_URI} !^/index\.php
RewriteCond %{REQUEST_URI} /component/|(/[^.]*|\.(php|html?|feed|pdf|vcf|raw))$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php [L]
-
ho provato, ma nulla di fatto...
comunque mi ero sbagliato il mio file .htaccess è questo:
##
# @package Joomla
# @copyright Copyright (C) 2005 - 2012 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 /
## 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 request is for something within the component folder,
# or for the site root, or for an extensionless URL, or the
# requested URL ends with one of the listed extensions
RewriteCond %{REQUEST_URI} /component/|(/[^.]*|\.(php|html?|feed|pdf|vcf|raw))$ [NC]
# 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.
-
Giusto per scrupolo,
cambia queste 2 righe
Options +FollowSymLinks
# RewriteBase /
in
# Options +FollowSymLinks
RewriteBase /
-
in quale versione del file .htaccess???
scusa ma rischio di fare confusione...
-
Non facciamo confusione...
il file .htaccess si trova nella cartella publich_html... ok?
Fai la modifica che ti ho detto nel file che si trova in quella cartella..
Visto che ci sei, assicurati che i permessi di quella cartella siano impostati su 755..
Quindi
Hai la cartella publich_html -- si no ?
Hai un file .htaccess in quella cartella? -- si no?
i permessi di quella cartella sono 755 -- si no?
-
non ho una cartella public_html.
ma ho comunque un file .htaccess
i permessi delle cartelle del sito sono impostati a 755
-
Che cartelle hai?
dove lo prendi l'.haccess?
Puoi fare uno sceenshot delle cartelle che hai?
-
ecco qua:
[allegato eliminato automaticamente dopo un anno]
-
No, c'è qualcosa che non mi torna...
Ma questo è uno sceen del server remoto?
Da come vedo io i file sono nella root del server / ... mi pare impossibile sta situazione?
Qualcuno conferma?
Il servizio di hosting a cui ti appoggi è a pagamento?
-
Giusto per scrupolo,
cambia queste 2 righe
Options +FollowSymLinks
# RewriteBase /
in
# Options +FollowSymLinks
RewriteBase /
ho provato a fare questa cosa che mi hai detto...
ma ancor niente!
non so più cosa fare!!!