Hosting Drupal core from subdirectory

This article is a reference if you would like to host your Drupal (v7) core from a sub directory.  This can be very useful for admins who are hosting multiple virtual hosts on a single server and the user does not have access to Apache's httpd.conf file.

Lets begin!

There are 2 requirements.

  1. Place a .htaccess file in the root of your home directory
  2. Edit your "/sites/default/settings.php" file to look for the $base_path variable.

 

Installing PHPUnit

This article requires that you have already configured your web server, php and have pear installed.

Install PHPUnit

The following is a good example if you want to use PHPUnit with your NetBeans installation.  In this case both PHPUnit and PHPUnit_SkeletonGenerator are needed.  We threw in DbUnit just for fun.

Pages

Subscribe to Xeno Innovations, Inc. RSS