url aruba

6 contenuti / 0 new
Ultimo contenuto
url aruba

Salve a tutti, ho installato drupal 6.x su aruba, per potelo far funzionare ho eliminato il file .htaccess ed installato ini.php (register_globals = 0
track_vars = 1
short_open_tag = 1
magic_quotes_gpc = 0
magic_quotes_runtime = 0
magic_quotes_sybase = 0
arg_separator.output = "&"
session.cache_expire = 200000
session.gc_maxlifetime = 200000
session.cookie_lifetime = 2000000
session.auto_start = 0
session.save_handler = user
session.cache_limiter = none
allow_call_time_pass_reference = On
memory_limit = 24M
)
Fino qua tutto bene, l'unica cosa che non riesco a fare è attivare gli url semplificati .
Info in merito Grazie

Gli url semplificati devi attivare una parte di "codice" all'interno del file htaccess.

I passi sono descritti qui: http://www.drupalitalia.org/node/1773

Grazie Almack, ma il file .htaccess in questione così comè non mi funziona, non so il perchè, la versione drupal è la 6.2 in www.nomesito/drupal/...
Bisogna togliere qualche "#" e cambiare "/ski-freestyle" in /drupal
Grazie

#
# Apache/PHP/site settings:
#

# Protect files and directories from prying eyes:

order deny,allow
deny from all

# Set some options
# non supportato da aruba
#Options -Indexes
# non supportato da aruba
#Options +FollowSymLinks

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

# Set the defaultg handler to index.php:
# non supportato da aruba
#DirectoryIndex index.php

# Overload PHP variables:

# If you are using Apache 2, you have to use
# instead of .
php_value register_globals 0
php_value track_vars 1
php_value short_open_tagg 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 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

# 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 /ski-freestyle/

# Rewrite old-style URLS of the formg 'nodeg.php?id=x':
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{QUERY_STRING} ^id=([^&]+)$
#RewriteRule node.php index.php?q=node/viewg/%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 $

Ciao, prova a guardare anche questa discussione. Dovrebbe contenere consigli aggiornati.

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

Grazie, ecco file php.ini e htaccess per far funzionare alla grande la pulizia degli url su Aruba.
Grazie a tutti voi per l'aiuto che date.

<?php
register_globals
= 0
post_max_size
= 50M
track_vars
= 1
short_open_tag
= 1
magic_quotes_gpc
= 0
magic_quotes_runtime
= 0
magic_quotes_sybase
= 0
arg_separator
.output = "&"
session.cache_expire = 200000
session
.gc_maxlifetime = 200000
session
.cookie_lifetime = 2000000
session
.auto_start = 0
session
.save_handler = user
session
.cache_limiter = none
allow_call_time_pass_reference
= On
memory_limit
= 36M
?>

Order deny,allow
Deny from all

ErrorDocument 404 /index.php

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

php_value magic_quotes_gpc 0
php_value register_globals 0
php_value session.auto_start 0

ExpiresByType text/html A1

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

ciao.
Sto provando ad installare drupal su aruba host win.
Ho provato sia con la versione 5.7 che von la 6.2 (uguale alla tua) utilizzando il file .htaccess e php.ini da te postati ma ho sempre l'errore relativo al register_global.
Mi puoi aiutare?
Grazie