Back to top

Autore Topic: 500 Internal server Error  (Letto 4236 volte)

Offline fm.tangerine

  • Esploratore
  • **
  • Post: 165
    • Mostra profilo
500 Internal server Error
« il: 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??

Offline gonis

  • Nuovo arrivato
  • *
  • Post: 35
  • Sesso: Maschio
  • la luce illumina solo le menti brillanti ..
    • Mostra profilo
Re:500 Internal server Error
« Risposta #1 il: 06 Mar 2013, 11:22:50 »
aggiungi il link così vedo se anche a me dà l'errore!!

Offline fm.tangerine

  • Esploratore
  • **
  • Post: 165
    • Mostra profilo

Offline daniel77

  • Abituale
  • ****
  • Post: 1129
  • Grotta del bue marino
    • Mostra profilo
Re:500 Internal server Error
« Risposta #3 il: 06 Mar 2013, 15:15:45 »
I configuration e . htacces sono apposto?


www.salinalive.it
Voglio tornare quiiiiiiiiiiiiiii!!!!!!!!!!!!!!!!!!!!!

Offline fm.tangerine

  • Esploratore
  • **
  • Post: 165
    • Mostra profilo
Re:500 Internal server Error
« Risposta #4 il: 06 Mar 2013, 15:24:01 »
credo di si...

cosa potrei aver sbagliato??

Offline daniel77

  • Abituale
  • ****
  • Post: 1129
  • Grotta del bue marino
    • Mostra profilo
Re:500 Internal server Error
« Risposta #5 il: 06 Mar 2013, 16:09:29 »
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
www.salinalive.it
Voglio tornare quiiiiiiiiiiiiiii!!!!!!!!!!!!!!!!!!!!!

Offline fm.tangerine

  • Esploratore
  • **
  • Post: 165
    • Mostra profilo
Re:500 Internal server Error
« Risposta #6 il: 06 Mar 2013, 16:12:58 »
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]


Offline daniel77

  • Abituale
  • ****
  • Post: 1129
  • Grotta del bue marino
    • Mostra profilo
Re:500 Internal server Error
« Risposta #7 il: 06 Mar 2013, 16:21:05 »
Fai una copia del tuo file e prova con questo

Codice: [Seleziona]
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]
www.salinalive.it
Voglio tornare quiiiiiiiiiiiiiii!!!!!!!!!!!!!!!!!!!!!

Offline fm.tangerine

  • Esploratore
  • **
  • Post: 165
    • Mostra profilo
Re:500 Internal server Error
« Risposta #8 il: 06 Mar 2013, 16:31:41 »
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.


Offline daniel77

  • Abituale
  • ****
  • Post: 1129
  • Grotta del bue marino
    • Mostra profilo
Re:500 Internal server Error
« Risposta #9 il: 06 Mar 2013, 16:33:53 »
Giusto per scrupolo,

cambia queste 2 righe

Options +FollowSymLinks
# RewriteBase /

in
# Options +FollowSymLinks
RewriteBase /
www.salinalive.it
Voglio tornare quiiiiiiiiiiiiiii!!!!!!!!!!!!!!!!!!!!!

Offline fm.tangerine

  • Esploratore
  • **
  • Post: 165
    • Mostra profilo
Re:500 Internal server Error
« Risposta #10 il: 06 Mar 2013, 16:41:08 »
in quale versione del file .htaccess???

scusa ma rischio di fare confusione...

Offline daniel77

  • Abituale
  • ****
  • Post: 1129
  • Grotta del bue marino
    • Mostra profilo
Re:500 Internal server Error
« Risposta #11 il: 06 Mar 2013, 16:55:09 »
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?


www.salinalive.it
Voglio tornare quiiiiiiiiiiiiiii!!!!!!!!!!!!!!!!!!!!!

Offline fm.tangerine

  • Esploratore
  • **
  • Post: 165
    • Mostra profilo
Re:500 Internal server Error
« Risposta #12 il: 06 Mar 2013, 17:03:15 »
non ho una cartella public_html.

ma ho comunque un file .htaccess

i permessi delle cartelle del sito sono impostati a 755

Offline daniel77

  • Abituale
  • ****
  • Post: 1129
  • Grotta del bue marino
    • Mostra profilo
Re:500 Internal server Error
« Risposta #13 il: 06 Mar 2013, 17:05:02 »
Che cartelle hai?
dove lo prendi l'.haccess?

Puoi fare uno sceenshot delle cartelle che hai?
www.salinalive.it
Voglio tornare quiiiiiiiiiiiiiii!!!!!!!!!!!!!!!!!!!!!

Offline fm.tangerine

  • Esploratore
  • **
  • Post: 165
    • Mostra profilo
Re:500 Internal server Error
« Risposta #14 il: 06 Mar 2013, 17:22:24 »
ecco qua:

[allegato eliminato automaticamente dopo un anno]

Offline daniel77

  • Abituale
  • ****
  • Post: 1129
  • Grotta del bue marino
    • Mostra profilo
Re:500 Internal server Error
« Risposta #15 il: 06 Mar 2013, 17:30:55 »
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?
www.salinalive.it
Voglio tornare quiiiiiiiiiiiiiii!!!!!!!!!!!!!!!!!!!!!

Offline fm.tangerine

  • Esploratore
  • **
  • Post: 165
    • Mostra profilo
Re:500 Internal server Error
« Risposta #16 il: 11 Mar 2013, 12:37:32 »
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!!!

 



Web Design Bolzano Kreatif