Multisite configuration drupal 7.41 et wampserver 2.5

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
luc.beaupere's picture

Bonjour,
Ma config sous windows10 avec drupal 7.41 et wampserver 2.5
dans le navigateur lancer "monsite.com:8080" et pas "monsite.com"
sinon erreur "The requested URL monsite.com was not found on this server."

1 - fichier C:\Windows\System32\drivers\etc\hosts

127.0.0.1       localhost
127.0.0.1       monsite.com www.monsite.com

2 - fichier C:\wamp\bin\apache\apache2.4.9\conf\httpd.conf

#Listen 12.34.56.78:80
Listen 0.0.0.0:8080
Listen [::0]:8080
...
# Virtual hosts
Include conf/extra/httpd-vhosts.conf

3 - fichier C:\wamp\bin\apache\apache2.4.9\conf\extra\httpd-vhosts.conf

<VirtualHost *:8080>
    DocumentRoot "C:/wamp/www/"
    ServerName localhost
</VirtualHost>

<VirtualHost *:8080>
    DocumentRoot "C:/wamp/www/drupal/"
    ServerName monsite.com
</VirtualHost>

4 - fichier C:\wamp\www\drupal\sites\sites.php = rien (pas de fichier sites.php créé)

5 - dossier C:\wamp\www\drupal\sites\monsite.com créé et contient default.settings.php original

Et aussi... pour que tout soit correct avec port 8080.

6 - fichier C:\wamp\www\index.php

$suppress_localhost = false;

7 - fichier C:\wamp\wampmanager.tpl pour "localhost:8080"

[Menu.Left]
;WAMPMENULEFTSTART
Type: separator; Caption: "Powered by Alter Way"
Type: item; Caption: "${w_localhost}"; Action: run; FileName: "${c_navigator}"; Parameters: "http://localhost:8080/"; Glyph: 5
;WAMPPROJECTSUBMENU

Type: item; Caption: "${w_phpmyadmin}"; Action: run; FileName: "${c_navigator}"; Parameters: "http://localhost:8080/phpmyadmin/"; Glyph: 5
...
Type: item; Caption: "${c_webgrind}"; Action: run; FileName: "${c_navigator}"; Parameters: "http://localhost:8080/webgrind/"; Glyph: 5

Comments

Fixe mais avec xampp

manuel_mra's picture

J'ai eu ces problèmes avec wamp mais sont similaires.
En ce moment je ne peux pas poster la solution que je l'ai fait, mais
dans les 8 heures, je vais poster la solution que je devais

France

Group organizers

Group categories

Chantiers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week