plainblack.com
Username Password
search
Bookmark and Share

    

Multi-Site Setup

User UMN_law
Date 6/10/2009 9:59 am
Views 554
Rating 0    Rate [
|
]
Previous · Next
User Message
UMN_law

I'm trying to create a multi-site WebGUI configuration (per this discussion on the WebGUI wiki: http://www.webgui.org/community-wiki/multi-site-setup-7.5 ).

Specifically, I'm trying to get http://domain2.com to go to http://domain1.com/sub-page, but retain the http://domain2.com address in the browser (both domains resolve to the same IP number). I've tried the multi-site configuration suggested in the wiki, but I keep getting a RewriteRule loop error. Any ideas/suggestions would be greatly appreciated.

--- (Edited on 2009-06-10 9:59 am [GMT-0500] by UMN_law) ---



Back to Top
Rate [
|
]
 
 
susanb

It would help to see your rewrite rules that are giving an error.

Our situation was somewhat different. We needed two domain names, that shared a database, conf file and uploads area, but went to different areas of the site. Back in the 6.0.x days, we  accomplished this using one wg conf file, but multiple modproxy and modperl VirtualHost blocks which contained RewriteCond rules with the  %{HTTP_HOST} variable.

RewriteCond %{HTTP_HOST} ^(www\.)?domain2\.com [NC]
                RewriteRule ^/$ http://domain1\.com/sub-page [L]

Good Luck!

Susan B

--- (Edited on 6/10/2009 08:26 [GMT-0700] by susanb) ---



Back to Top
Rate [
|
]
 
 
    



© 2012 Plain Black Corporation | All Rights Reserved