Can we browse another drupal installation in subdirectory of a domain?

Events happening in the community are now at Drupal community events on www.drupal.org.
Rockland Steel's picture

Hi, Im not Nginx user, but I need to ask before setting up nginx for my drupal website

I need to have my domain.tld running, which means in the domain.tld folder is Drupal installation.

So I will see my website when I browse http://www.domain.tld/

But I have a folder with name "app1" which contains another Drupal installation.

So I will see another Drupal installation when I browse http://www.domain.tld/app1/

I dont want to setup subdomain because this way is far easier and dont need other codes in config file.

This works fine in Apache2, but not works in lighttpd

But how about Nginx, is this works in Nginx?

Thanks.

Comments

Check out

brianmercer's picture

Check out http://groups.drupal.org/node/39944

The OP used the Drupal multisite feature and setup their sites directory with sites/www.domain.tld.app1/. Then added a symlink.

We added an extra rewrite to enable clean URLs at http://groups.drupal.org/node/39944#comment-113346 (second version is preferable).

er..

brianmercer's picture

er.. http://groups.drupal.org/node/39944#comment-113396 has the final version of that rewrite.

thank you very much

Rockland Steel's picture

thank you very much

Nginx

Group organizers

Group notifications

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

Hot content this week