[development] Subsite

Morbus Iff morbus at disobey.com
Wed Jan 12 15:54:37 UTC 2011

> We have a copy of our pre-Drupal HTML site and would now like to resurrect a portion of it. Is it possible to have a plain HTML site as a sub-site of the Drupal site? I have done it the other way around, so I suspect it is possible. Are there any gotchas I need to be aware of (other than Apache redirects that have to be removed)?

Nope, it’ll work fine - I have many non-Drupal subsites in my Drupal install.

The biggest gotcha will be ensuring that your mod_rewrite rules (in .htaccess) are working properly - if they’re not, then Drupal will try to take over ALL URLs (whether they exist on the filesystem or not). You can test that pretty easily by just creating dummy/whee.html and making sure you can access it right now, without Drupal interfering.

Morbus Iff ( morbus == grumblestiltskin )
http://www.disobey.com/ and http://www.disobey.com/wiki/
twitter: @morbusiff / skype: morbusiff / irc.freenode.net, Morbus
An O'Reilly author and blogger: http://www.oreillynet.com/pub/au/779

More information about the development mailing list