Problems on Yahoo
by Sanju[ Edit ] 2009-11-01 11:32:04
Can't upload .htaccess to Yahoo
Yahoo web hosting does not allow directory names with periods ('.') in them, so the Drupal feature that allows you to have multiple sites from a single Drupal installation does not work as is.
Yahoo does allow you to put an underscore ('_') in a directory name, so I named my site directory, for example, xx_yy_com. Then, you look in includes/bootstrap.inc and you see this line in function conf_init():
$dir = implode('.', array_slice($server, -$j)) . implode('.', array_slice($uri, 0, $i));
Replace the periods ('.') with underscores ('_') so that the line looks like this:
$dir = implode('_', array_slice($server, -$j)) . implode('_', array_slice($uri, 0, $i));
Save and Quit....