How to configure Apache to serve Drupal 6 Multisite configuration -


i trying setup apache serve drupal 6 multi-site configuration, cannot seem set up.

in httpd.conf:

documentroot "/users/kevinyoung/sites/drupal"  <directory "/users/kevinyoung/sites/drupal">     options followsymlinks multiviews indexes     multiviewsmatch     allowoverride     require granted </directory>  directoryindex index.html index.php 

in httpd-vhosts.conf:

<virtualhost *:80>     documentroot "/users/kevinyoung/sites/drupal"     errorlog "/private/var/log/apache2/error_log"     customlog "/private/var/log/apache2/access_log" common </virtualhost>  <virtualhost *:80>     servername drupal.local     serveralias *.drupal.local     documentroot /users/kevinyoung/sites/drupal     errorlog "/private/var/log/apache2/error_log"     customlog "/private/var/log/apache2/access_log" common </virtualhost> 

in /etc/hosts:

127.0.0.1       drupal.local 127.0.0.1       <site_name>.drupal.local 

navigating http://localhost shows "it works!". navigating drupal.local takes me default site d6 multi-site setup.

now lets have site directory (site_a.drupal.local) site inside drupal/sites/. go site_a.drupal.local, still takes me default site. why happening?

any ideas why can't access other site besides default site in drupal 6 multi-site configuration?

i running apache 2.4 on mac osx 10.10 yosemite drupal 6, mysql 5.1.73, , php 5.5.14.


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -