Submitted by HerVil on
Bien sûr j'ai passé quelques heures à chercher mais si qqun est dans la même config de dev, et que ça marche pour vous, ça m'éviterait de tourner chèvre !
Donc des sites genre :
Applications/drupal/sites/8888.localhost.drupal.siteA
Applications/drupal/sites/8888.localhost.drupal.siteB
avec les liens symboliques qui vont bien dans Applications/drupal
et des URL type
http://localhost:8888/drupal/siteA/
http://localhost:8888/drupal/siteB/
Avant de faire marcher siteA et siteB, je teste au niveau du site de base
http://localhost:8888/drupal/
Alors dans le httpd.conf de MAMP je mets :
Options Indexes FollowSymLinks
AllowOverride all
Order allow,deny
Allow from all
Et dans le .htaccess de Applications/drupal :
RewriteBase /Applications/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]
et nom d'un p'tit bonhomme ça ne change rien :
"La configuration de votre système ne supporte pas cette fonctionnalité"... grrr !
Et si vous pouvez m'indiquer aussi ce qu'il faudrait faire pour siteA et siteB... ça serait bien sympa !
Merci