Errore 500 internal server error

14 contenuti / 0 new
Ultimo contenuto
Errore 500 internal server error

Salve a tutti,
ho installato drupal su server linux di aruba e per i primi giorni tutto bene. Purtroppo da 2 giorni il sito è irragiungibile ( www.mariopansera.it)
ecco l'errore:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

ho provato di tutto, la conf di drupal è giusta, ho anche provato a ricaricare i file sul server senza esito positivo.

aiuto!

prova a sostituire il file htaccess.
#
# Apache/PHP/Drupal settings:
#

# Protect files and directories from prying eyes.

Order deny,allow
Deny from all

# Set some options.
# Options -Indexes
# Options +FollowSymLinks

# Customized error messages.
ErrorDocument 404 /index.php

# Set the default handler.
# DirectoryIndex index.php

# Override PHP settings. More exist in sites/default/settings.php, but
# the following cannot be changed at runtime. The first IfModule is
# for Apache 1.3, the second for Apache 2.
#
# php_value
magic_quotes_gpc
0
# php_value
register_globals
0
# php_value
session.auto_start
0
#

php_value
magic_quotes_gpc
0
php_value
register_globals
0
php_value
session.auto_start
0

# Reduce the time dynamically generated pages are cache-able.

ExpiresByType text/html A1

# Various rewrite rules.

RewriteEngine on

# Modify the RewriteBase if you are using Drupal in a
subdirectory and
# the rewrite rules are not working properly.
#RewriteBase /drupal

# Rewrite old-style URLs of the form 'node.php?id=x'.
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{QUERY_STRING} ^id=([^&]+)$
#RewriteRule node.php index.php?q=node/view/%1 [L]

# Rewrite old-style URLs of the form 'module.php?mod=x'.
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{QUERY_STRING} ^mod=([^&]+)$
#RewriteRule module.php index.php?q=%1 [L]

# Rewrite current-style URLs of the form 'index.php?q=x'.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

# $Id: .htaccess,v 1.66 2005/03/20 19:15:00 dries Exp $

giuseppe

grazie del consiglio, ma purtroppo non funziona.
ho sostituito il file .htaccess con il codice che mi hai dato, ma la situazione nn è cambiata!

grazie del consiglio, ma purtroppo non funziona.
ho sostituito il file .htaccess con il codice che mi hai dato, ma la situazione nn è cambiata!

Ciao, scusami ancora,
con il file htaccess che mi hai dato non funziona neanche gallery!
ripristinando il vecchio htaccess ritorna a funzionare.... mah!

ciao a tutti,
ho addirittura provato a cancellare e uplodare nuovamente tutte le cartelle di drupal...ma niente
ecco il mio htaccess vi dice qualcosa?

#
# Apache/PHP/site settings:
#

# Protect files and directories from prying eyes:

order deny,allow
deny from all

# Set some options
###no### Options -Indexes
###no### Options +FollowSymLinks

# Customized server error messages:
ErrorDocument 404 /index.php

# Set the default handler to index.php:
###no### DirectoryIndex index.php

# Overload PHP variables:

# If you are using Apache 2, you have to use
# instead of .
php_value memory_limit 20000000
php_value register_globals 0
php_value track_vars 1
php_value short_open_tag 1
php_value magic_quotes_gpc 0
php_value magic_quotes_runtime 0
php_value magic_quotes_sybase 0
php_value arg_separator.output "&"
php_value session.cache_expire 200000
php_value session.gc_maxlifetime 200000
php_value session.cookie_lifetime 200000000
php_value session.auto_start 0
php_value session.save_handler user
php_value session.cache_limiter none
php_value allow_call_time_pass_reference On

# Various rewrite rules

RewriteEngine on
RewriteCond %{HTTP_HOST} ^mariopansera\.it$ [NC]
RewriteRule ^(.*)$ http://www.mariopansera.it/$1 [R=permanent,L]

# Modify the RewriteBase if you are using Drupal in a subdirectory and the
# rewrite rules are not working properly:
#RewriteBase /drupal

# Rewrite old-style URLS of the form 'node.php?id=x':
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{QUERY_STRING} ^id=([^&]+)$
#RewriteRule node.php index.php?q=node/view/%1 [L]

# Rewrite old-style URLs of the form 'module.php?mod=x':
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{QUERY_STRING} ^mod=([^&]+)$
#RewriteRule module.php index.php?q=%1 [L]

# Rewrite URLs of the form 'index.php?q=x':
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

# $Id: .htaccess,v 1.58 2004/10/09 20:41:49 dries Exp $

aiuto!!!

Cancella il file .htaccess

Ciao
Gianni

Purtroppo anche cancellando il file non succede niente!
non so che fare, penso di essere costretto a cambiare CMS....sigh

Sono sicuro al 100% che c'entra con questo:

#php_value error_reporting E_ALL ^ E_NOTICE

a occhio, nel tuo htaccess non sembra esserci, ma potrebbe esserci
nel file di configurazione di php.ini (mi sembra di ricordare).

In definitiva prova ad usare/modificare questo comando, non so esattamente come, per disattivare il messaggio di errore, penso che si possa fare, ne sono sicuro al 100%. Anch'io avevo un problema simile e sono intervenuto su questo comando.

Il problema pero' rimane: perchè viene fuori questo messaggio di errore? bohh..
Quelcuno più esperto di me forse lo sa..

Ciao
Davide

aggiungo che è importante ricordarsi di scrivere deny,allow o allow,deny, i due parametri della direttva Order, senza spazi altrimenti si riceverà proprio un Internal Server Error, guarda un po'.. Presumo quindi che altri parametri di .htaccess scritti magari con degli spazi non richiesti dalla sintassi, possano dare lo stesso problema, quindi attenzione!

Esempio:

Order deny,allow
Deny from all

Tho! dopo che ho inviato questo messaggio per ironia della sorte
il vostro server mi ha dato proprio "Internal Server Error",
ahahahahahh!!!! questa è proprio bella.

Ciao
Davide

Io invece ho un problema su aruba...

con .htaccess così:

#
# Apache/PHP/site settings:
#
# Protect files and directories from prying eyes:
<Files ~ "(\.(conf|inc|module|pl|sh|sql|theme|engine|xtmpl)|Entries|Repositories|Root|scripts|updates)$">
Order deny,allow
Deny from all
</Files>
# Set some options
# non supportato da aruba
#Options -Indexes</strong>
# non supportato da aruba
#Options +FollowSymLinks</strong>
# Customized server error messages:
ErrorDocument 404 /index.php
# Set the default handler to index.php:
# non supportato da aruba
# DirectoryIndex index.php
# Overload PHP variables:
<IfModule mod_php4.c>
   # If you are using Apache 2, you have to use <IfModule sapi_apache2.c>
   # instead of <IfModule mod_php4.c>.
   php_value register_globals        0
   php_value track_vars              1
   php_value short_open_tag          1
   php_value magic_quotes_gpc        0
   php_value magic_quotes_runtime    0
   php_value magic_quotes_sybase     0
   php_value arg_separator.output    "&amp;"
   php_value session.cache_expire    200000
   php_value session.gc_maxlifetime  200000
   php_value session.cookie_lifetime 2000000
   php_value session.auto_start      0
   php_value session.save_handler    user
   php_value session.cache_limiter   none
   php_value allow_call_time_pass_reference  On
</IfModule>
# Various rewrite rules
<IfModule mod_rewrite.c>
  RewriteEngine on
  # Modify the RewriteBase if you are using Drupal in a subdirectory and the
  # rewrite rules are not working properly:
  RewriteBase /drupal51
  # Rewrite old-style URLS of the form 'node.php?id=x':
  #RewriteCond %{REQUEST_FILENAME} !-f
  #RewriteCond %{REQUEST_FILENAME} !-d
  #RewriteCond %{QUERY_STRING} ^id=([^&]+)$
  #RewriteRule node.php index.php?q=node/view/%1 [L]
  # Rewrite old-style URLs of the form 'module.php?mod=x':
  #RewriteCond %{REQUEST_FILENAME} !-f
  #RewriteCond %{REQUEST_FILENAME} !-d
  #RewriteCond %{QUERY_STRING} ^mod=([^&]+)$
  #RewriteRule module.php index.php?q=%1 [L]
  # Rewrite URLs of the form 'index.php?q=x':
RewriteCond %{REQUEST_URI} "!cgi-bin/"
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
</IfModule>
# $Id: .htaccess,v 1.58 2004/10/09 20:41:49 dries Exp $

Ho un problema... tutte le immagini uplodate nella cartella "files" non sono raggiungibili!

Ricevo lo stesso errore anche se provo a puntare il file direttamente da qui

http://www.walterfantauzzi.com/drupal51/files/slideshow/album_pic.jpeg

ma cosa può essere?

@ryosaeba: per favore, usa il CERCA, la soluzione a questo problema è già stata ampiamente discussa.

Ciao
Marco
--
My blog
Working at @agavee

Ho avuto tanti volte lo stesso problema ma la ma la magior parte questo vieni dal manitenzione sul server e cusi uno devra aspettare che tutto andra bene sino o uno recorda che magare ha fatto qualche errore cerca dove e quando e stata l ultima modifica .

    che tutti sono uniti sul fatto di eliminare ' #' nella riga :
  • #RewriteBase / su .htaccess

mhamed hmimid

Non capisco perché DRUPAL e soprattutto ARUBA deve essere così problematico... far le cose semplici sarebbe troppo difficile?!?