By Brian.Harris on
I'm having some problems running two sites off 1 install. this is how i have it setup.
sites/example.com
sites/example.com.subdirectory
$base_url = 'http://example.com';
$base_url = 'http://example.com/subdirectory';
example.com works correctly, example.com/subdirectory does not. (on example.com version, the 404 for subdirectory appears in the watchdog logs)
if i change example.com/subdirecotry to subdomain.example.com it works fine.
Any idea what I'm doing wrong here?
Comments
short update
so i added the following line into my httpd.conf and c:/wwwroot is the root where drupal is installed.
Alias /subdirectory "c:/wwwroot" (i also tried with a trailing slash)
when i add this,
http://example.com - Works
http://example.com/subdirectory - displays the correct content for the homepage, but with no styles what so ever. when i click a link to say a taxonomy page, it then brings up the http://example.com/subdirectory/taxonomy/term/8 - but in example.com theme and content.
i do have pathauto and clean urls installed/enabled. could this have something to do with it?