Does the content need to be visible both at www.sage.edu/management/ and management.sage.edu, or only at the latter? The solution is probably different depending on the answer to that.
Mark F. Heiman
Carleton College Web Services
mhe...@carleton.edu
> --
> You received this message because you are subscribed to the Google Groups "Reason Discussion" group.
> To post to this group, send email to reason-d...@googlegroups.com.
> To unsubscribe from this group, send email to reason-discuss...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/reason-discussion?hl=en.
>
Since some 4.0beta version of Reason, we have had VERY EXPERIMENTAL multiple domain support. If you populate the reason_package/settings/domain_settings.php config file (it has internal documentation) you can assign different sites in a single Reason instance to be served under different domains. You'll need to set up Apache virtual hosts for all the domains you want to respond to.
We are not using this feature in production at Carleton, but a couple of us are using it privately, using a single instance of Reason to host web sites for unrelated organizations. This feature is UNTESTED in an environment like you describe, and there are undoubtedly bugs. We'd be happy for you to try it and report problems, so long as you understand that it's an experimental guinea pig situation.
Another option would be to let Apache do the work for you. If you set up a rewrite rule like this:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^management.sage.edu$
RewriteCond %{REQUEST_URI} !^/management/
RewriteRule ^(.*)$ /management/$1
addresses like sage.edu/management/faculty would be served up under management.sage.edu/faculty/. The biggest problem here is that since Reason will still think the pages are at sage.edu, any internal page links will bounce you back to the original location. I believe Apache could be set up to rewrite URLs in your content as it is served, but you're getting into scary territory there, which is why we started developing the multidomain support in Reason. I suppose you could put in another rewrite that would redirect links to the old server over to the new URL, so while the links in your content would always be to the old server, no one would see the old URLs in their browser.
If your departments just want to be able to publish links like management.sage.edu, and don't really care where people end up, that basic rewrite might be all you need.
Neither of those answers is perfect, but maybe that gives you some possibilities to think about.
Mark F. Heiman
Carleton College Web Services