I have been trying to install drupal in a subdirectory using yahoo hosting (which does not allow .htaccess). So far I have a solution that sort of works. I create a subdomain that points to the subdirectory and then redirect my main site to the subdomain using a header("Location:") php command in the root index.php file.

To get around this, I have been trying to get the index.php in my drupal directory included in the index.php in my root directory using include("/drupal/index.php"). So far I have had no success - it barfs on the require_once("./includes/bootstrap.inc") line in drupal/index.php saying it cannot find the file bootstrap.inc to include.

I then tried adding to the include path, using set_include_path(get_include_path() . ":" . XXX) - but was not able to get this working since I couldn't figure out what to give as XXX. The relative paths used in the include directives within drupal seem to be causing some problem. No matter what I tried as XXX, I could not get the includes working.

Any help/suggestion would be greatly appreciated. There may be quite a few people whose hosting service does not allow .htaccess files.

Thanks!
Nawaaz