modulo subdomains istruzioni per installazione

10 contenuti / 0 new
Ultimo contenuto
modulo subdomains istruzioni per installazione

ciao a tutti, sto cercando di installare il modulo subdomains, ma non riesco ad installarlo, ecco le istruzioni del readme.txt del modulo:

STEP 1: Edit settings.php & set $cookie_domain to your site domain. e.g.:
$cookie_domain = "example.com";

STEP 2: Enable wildcard DNS on your DNS hosting provider (e.g. *.example.com)

STEP 3: Configure wildcard virtual hosts. For apache or lighttpd,
see below. For other web servers, consult their documentation.

STEP 4: Enable & configure Subdomain: URL aliases -> Subdomain settings

STEP 5: Configure Pathauto (URL aliases -> Automated alias settings):
1) Go to "Punctuation Settings" and set "Tilde ~:" to "No action"
2) Place [subdomain] at the *start* of all paths whose content you
want placed on a subdomain

il primo punto l'ho eseguito.
il secondo non riesco a capire dove abilito wildcard dns da cpanel.
il terzo punto consegue dal secondo perchè non riesco a trovare niente in cpanel che può aiutarmi.
i punti 4 e 5 dovrebbero essere opzioni del modulo, quindi li seguirò successivamente.

In Cpanel dovresti avere una gestione dei record DNS. Io ho inserito una nuova regola *.miosito.it e me l'ha accettata (cosa non scontata). E' tutto qui.

<--- Andrea Mancini - biso.it --->

ho provato ad inserire un nuovo record:

*.miosito.it

e mi da errore di inserimento

Infatti... è possibile che il tuo host provider non supporti queste configurazioni un pò particolari.
Hai provato ad installare e provare il modulo comunque? C'è una possibilità che i tuoi DNS siano già pronti in questo modo. Dipende sempre dal tuo hosting.

La soluzione "brutta" è quella di aggiungere a mano i termini uno a uno (ma se hai 300 terzi livelli è follia).

<--- Andrea Mancini - biso.it --->

il modulo mi da errori in rosso del tipo:

test.domain.com
test1.domain.com

oltre a quest'altro errore che non capisco cosa vuol significare:

Drupal's inbound URL rewriting - show/hide details Not working yet
HTTP request to http://subdomain-test.sito.com/subdomain/test resulted in an internal Drupal path of . It should have been ~subdomain-test/subdomain/test

The custom_url_rewrite_inbound() function in settings.php is rewriting the internal path incorrectly. Did you patch settings.php? See readme.txt for instructions.

mettiamo di poter saltare il primo errore, ma il secondo cosa dovrei fare per fargli passare il test?
in readme.txt non ne parla.

:(

ho controllato il mio hosting e io ho inserito la regola senza *... ovvero .miodominio.it

<--- Andrea Mancini - biso.it --->

io sto provando e ho questi 2 errori:

Drupal's inbound URL rewriting - show/hide details Not working yet
Array ( [0] => SUBDOMAIN TEST [1] => subdomain-test.sito.com [2] => subdomain/test [3] => subdomain/test [4] => /home/public_html/index.php [5] => subdomain/test ) HTTP request to http://subdomain-test.sito.com/subdomain/test resulted in an internal Drupal path of subdomain/test. It should have been ~subdomain-test/subdomain/test
The custom_url_rewrite_inbound() function in settings.php is rewriting the internal path incorrectly. Did you patch settings.php? See readme.txt for instructions.

Drupal's outbound URL rewriting - show/hide details Not working yet
Drupal API: url('~subdomain-test/subdomain/test') returned '/%7Esubdomain-test/subdomain/test' but should have returned 'http://subdomain-test.sito.com/subdomain/test'
The custom_url_rewrite_outbound() function in settings.php is rewriting subdomains incorrectly. Did you patch settings.php? See readme.txt for instructions.

anche io sono ferma a questi 2 errori che mi sembrano correlati fra loro. dice di leggere il readme per vedere la modifica da apportare al settings.php, ma in quel file non parla di modificare il settings.
nessuno che ci aiuta?