Installazione drupal su aruba

8 contenuti / 0 new
Ultimo contenuto
Installazione drupal su aruba

Ciao,
ho letto tutto quanto reperibile in rete per l'installazione di drupal 6.17 su aruba ma nonostante ciò non riesco ad installarlo.
ottengo sempre l'errore 500 Internal Server Error.
Ho modificato il file .htaccess ed aggiunto il file php.ini ma niente da fare.
ho creato il file setting.php e inserito i dati di accesso al database, attribuito i permessi come indicato ma niente.
Evidentemente commetto qualche errore banale senza rendermene conto.
Ho provato a puntare il browser sia sul www.miosito.it che su www.miosito.it/install.php ma nulla da fare.

Per quanto riguarda il database l'unica cosa da fare è inserire i dati nel file setting.php giusto?

Inoltre ho trovato versioni differenti del file php.ini che occorre inserire; ma qual'è quella giusta?

In alternativa c'è qualche modo per utilizzare l'installer fornito da aruba e poi spostare via ftp tutto il contenuto dalla sottocartella alla cartella principale del dominio senza causare danni?
Io l'ho già fatto ma non tutto funziona così come mi è stato detto anche dal servizio assistenza di aruba.

Grazie

Assicurati di aver seguito alla lettera

http://www.drupalitalia.org/node/7588

E togli il php.ini che non dovrebbe servire (non so neanche se viene effettivamente letto.

... ed anche attenti alle novità: http://www.drupalitalia.org/node/10973

Più imparo, più dubito.

Grazie per le dritte.
Ora mi leggo tutto e poi vi faccio sapere.
Nel frattempo ero riuscito a far partire il tutto seguendo questo
http://mplebani.wordpress.com/2009/01/10/installare-drupal-6-su-aruba/

ma prima di andare avanti leggo ciò che mi avete consigliato per evitare di dover rifare tutto.
di nuovo grazie

Dans

Ciao,
alla fine sono riuscito ad installare Drupal.
Riporto un breve resoconto qualora potesse essere utile a qualcuno o magari dallo stesso risultasse qualche mio errore che i più esperti potrebbero correggere.
Come suggerivi tu, Psicomante, non c'è stato bisogno del file php.ini.
Relativamente ai file .htaccess:
- per quello della root ho riciclato il file che mi ero salvato dall'installazione tramite installer di Aruba perché con altri non riuscivo.
Il contenuto è questo:

#
# Apache/PHP/Drupal settings:
#
# Protect files and directories from prying eyes.
<FilesMatch "\.(engine|inc|info|install|make|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl|svn-base)$|^(code-style\.pl|Entries.*|Repository|Root|Tag|Template|all-wcprops|entries|format)$">
  Order allow,deny
</FilesMatch>
# Don't show directory listings for URLs which map to a directory.
#Options -Indexes
# Follow symbolic links in this directory.
#Options +FollowSymLinks
# Make Drupal handle any 404 errors.
ErrorDocument 404 /index.php
# Force simple error message for requests for non-existent favicon.ico.
<Files favicon.ico>
  # There is no end quote below, for compatibility with Apache 1.3.
  ErrorDocument 404 "The requested file favicon.ico was not found."
</Files>
# Set the default handler.
#DirectoryIndex index.php
# Override PHP settings. More in sites/default/settings.php
# but the following cannot be changed at runtime.
# PHP 4, Apache 1.
<IfModule mod_php4.c>
  php_value magic_quotes_gpc                0
  php_value register_globals                0
  php_value session.auto_start              0
  php_value mbstring.http_input             pass
  php_value mbstring.http_output            pass
  php_value mbstring.encoding_translation   0
</IfModule>
# PHP 4, Apache 2.
<IfModule sapi_apache2.c>
  php_value magic_quotes_gpc                0
  php_value register_globals                0
  php_value session.auto_start              0
  php_value mbstring.http_input             pass
  php_value mbstring.http_output            pass
  php_value mbstring.encoding_translation   0
</IfModule>
# PHP 5, Apache 1 and 2.
<IfModule mod_php5.c>
  php_value magic_quotes_gpc                0
  php_value register_globals                0
  php_value session.auto_start              0
  php_value mbstring.http_input             pass
  php_value mbstring.http_output            pass
  php_value mbstring.encoding_translation   0
</IfModule>
# Various rewrite rules.
<IfModule mod_rewrite.c>
  RewriteEngine on
  # If your site can be accessed both with and without the 'www.' prefix, you
  # can use one of the following settings to redirect users to your preferred
  # URL, either WITH or WITHOUT the 'www.' prefix. Choose ONLY one option:
  #
  # To redirect all users to access the site WITH the 'www.' prefix,
  # (http://example.com/... will be redirected to http://www.example.com/...)
  # adapt and uncomment the following:
  # RewriteCond %{HTTP_HOST} ^example\.com$ [NC]
  # RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301]
  #
  # To redirect all users to access the site WITHOUT the 'www.' prefix,
  # (http://www.example.com/... will be redirected to http://example.com/...)
  # uncomment and adapt the following:
  # RewriteCond %{HTTP_HOST} ^www\.example\.com$ [NC]
  # RewriteRule ^(.*)$ http://example.com/$1 [L,R=301]
  # Modify the RewriteBase if you are using Drupal in a subdirectory or in a
  # VirtualDocumentRoot and the rewrite rules are not working properly.
  # For example if your site is at http://example.com/drupal uncomment and
  # modify the following line:
  # RewriteBase /drupal
  #
  # If your site is running in a VirtualDocumentRoot at http://example.com/,
  # uncomment the following line:
  # RewriteBase /
  # Rewrite URLs of the form 'x' to the form 'index.php?q=x'.
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_URI} !=/favicon.ico
  RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
</IfModule>
# $Id: .htaccess,v 1.90.2.5 2010/02/02 07:25:22 dries Exp $

dove mi sembra manchi ancora la parte

# Requires mod_expires to be enabled.
#< IfModule mod_expires.c >
# Enable expirations.
# ExpiresActive On
# Cache all files for 2 weeks after access (A).
# ExpiresDefault A1209600
# Do not cache dynamically generated pages.
# ExpiresByType text/html A1
#< / IfModule >

di cui nel post http://www.drupalitalia.org/node/10973 e dove alla fine mi sembrava di aver capito si dicesse che, poichè risolto il problema da parte di Aruba, quella parte sarebbe stato meglio reincluderla. Io non ho potuto includerla a meno di rinunciare all'installazione.

- per quanto riguarda il file .htaccess presente nella cartella file ho dovuto commentare le due righe per ottenere:

SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
#Options None
#Options +FollowSymLinks

Grazie di nuovo per le dritte

Dans

Non c'è contenuto !?!?

Drupalista convinto
WaPoNe

Confermo,
ho dovuto commentare anch'io queste due righe segg:
#Options None
#Options +FollowSymLinks
(nel file .htaccess nella root del sito)
su Aruba, altrimenti da ERRORE 500!
Con Drupal 7

idem, errore 500 su aruba :(