Username Password
Bookmark and Share

How To Configure a Static, non-WebGUI site

If you need to deploy a static-HTML, non-WebGUI site on a WebGUI WRE server, it's not too hard to do.

All you need to do is go to /data/wre/etc (or wherever that directory lives on your server, if you've modified the WRE base install point), and you should see the .modproxy files for your already configured sites.

Copy one of these, renaming it to the name of your static site.

Edit the file, and remove the Rewrite Rule related language, and anything else that seems superfluous.  Make sure the DocumentRoot to which it points has the appropriate permissions for Apache to read it (including search permission on the directory path necessary to get there :-).

Then restart Apache.

As usual, make sure the appropriate DNS entries point to the server's IP address.

Sample config

<VirtualHost *:80>
        CustomLog /var/log/apache/faith_access.log combined
        DocumentRoot /home/faith/public_html


Note that I changed the log destination as well.  There may be things you'd want to add to the config, but this is enough for a start.

Keep in mind that if you later use WRE to create a site with this name, this .modproxy file will be overwritten, but nothing else should do so, although later WRE versions might well move entirely the directory in which you need to put the file, and upgrades probably won't copy your non-WebGUI configs.

Keywords: Installation multi-site WRE

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