This is actually how Drupal is meant to be used. See Multi-site installation for more information on it.... The idea is that you have Drupal installed in any directory, and then create symlinks to the Drupal directory for sites that you want to use Drupal. So in your example, domainname.com/sample/ would be a symlink to domainname.com/drupal........... And then in your sites directory, you create a sample folder, and an empty settings.php. When you visit domainname.com/sample/install.php, you'll install a unique installation for Drupal at /sample/.
Comments
Comment #1
damien tournoud commentedNot sure how we could help on that if you don't describe what you want to achieve.
Comment #2
gulliver commentedDid you read the post - and the originating piece?
=====
I want to install into a non-root directory - example: 'drupal' - but not have /drupal/ in the path urls...
Example: a directory named 'sample' and created by Drupal would be publicly accessed as domainname.com/sample/ and not domainname.com/drupal/sample/.
Is this possible?
=====
Comment #3
robloachThis is actually how Drupal is meant to be used. See Multi-site installation for more information on it.... The idea is that you have Drupal installed in any directory, and then create symlinks to the Drupal directory for sites that you want to use Drupal. So in your example, domainname.com/sample/ would be a symlink to domainname.com/drupal........... And then in your sites directory, you create a sample folder, and an empty settings.php. When you visit domainname.com/sample/install.php, you'll install a unique installation for Drupal at /sample/.
Comment #4
gulliver commentedThanks Rob - Looks interesting. Need to look at it when I've got a clear head.