Username Password
Bookmark and Share

Multiple Sites / Different WebGUI-Versions on one System

These instructions will allow you to have multiple sites with one webgui instance (one mysql databsae, before you intsall this way, make sure you understand the pros and cons.


  1. Depending on your navigation-assets, it will be possible to jump to every site or not.
  2. One login to manage your sites.
  3. This will allow you to install multiple versions of webgui on the same machine. (see below)
  4. Users and logins work for all sites.
  5. You can share all your images in your media folder across all sites.


  1. depending on how you implement the site roots, "back to home" within webgui will go to only one of the sites.
  2. You can only have one /sitemap.xml. and it's accessible from all your websites. so it will not represent your sites correctly, unless there is a way to do some magic with redirects in mod_proxy?? anyone???
  3. Users and logins work for all sites, so if you don't want someone to modify one of your sites, you'll have setup specific groups for each site, and even then there are limitations.

Multiple Sites

One single WebGUI Instance you can use for multiple sites with different domains, e.g.:

www.server.xx (Path /home )

                   -----  www.subserver01.xx (Path /sub01)
                    ----  www.subserver02.xx (Path /sub02)


After installing of WebGUI, you'll have to make the pages /home, /sub01 and /sub02. Depending on your navigation-assets, it will be possible to jump to every site or not.

The next step is the configuring of Apache. Here you`ll need two instances (a proxy and one for WebGUI)

A proxy will analyse your requests and proxie it to the webgui-server on another port (e.g.81) or rewrites the hostnames

That's the trick!


# Proxy config

<VirtualHost _default_:80>

      RewriteEngine On  

      # redirect to domain, from other internal webgui site

      RewriteCond %{HTTP_HOST} "sub01\."
      RewriteRule ^/$  /sub01

      # back from sub to master (on link /home)

      RewriteCond %{HTTP_HOST} "sub01\."
      RewriteRule ^/home$  http://www.server.xx/home [R]

      # from master to sub (on link /sub01)

      RewriteCond %{HTTP_HOST} "www.server\."
      RewriteRule ^/sub01$  http://www.subserver01.xx/sub01 [R]

#same per subserver


      # get answers back with clients Hostname
      ProxyPreserveHost On
      RewriteRule ^/(.*) http://www.server.xx:81/$1 [P]



# WebGUI-Server, normal but on port 81

<VirtualHost Adresse:81>



Different WebGUI Versions

With this type of installation with more apache-instances, it's no problem to run two or more different versions of WebGUI on one system.

If you configure the proxy also for php, you also might use phpMyAdmin (which is _still_ not possible with wre).

To configure Apache, you may copy and use your standard config  and control-files, as long as you change the pid-file in the new control file and add a PidFile-Statement in your config like
"PidFile /var/run/httpd2_proxy" and "PidFile /var/run/httpd2_webgui"

Keywords: multi-sites multiple proxy sites

Search | Most Popular | Recent Changes | Wiki Home
© 2019 Plain Black Corporation | All Rights Reserved