plainblack.com
Username Password
search
Bookmark and Share
Subscribe

Hosting WebGUI alongside other instances of Apache and Mysql (not supported)

 

Note that this is not supported!

Situation:
I wanted to run a version of WebGUI on a server that needed to serve another website using the Apache and MySQL that came with the distribution. At that location I have control of the Linux server, but not of my host file or dns. WebGUI was already installed, so I chose to run WebGUI on different ports.

It's not that hard, this is how I did it:

Stop all services from the WRE

Make the following changes in the configuration files:

/data/wre/etc/my.cnf

Change port=3306  to  port=4306

/data/wre/etc/wre.conf

Change "port" : "3306",  to        "port" : "4306",

/data/wre/etc/modproxy.conf 

Change

Listen 80  to Listen 1080

NameVirtualHost *:80  to  NameVirtualHost *:1080

/data/wre/yoursitename.modproxy

Change <VirtualHost *:80>   <VirtualHost *:1080>


Restart all services in the normal order (mysql, spectre, modperl, modproxy)

Now simply connect to http://yourserver:1080

Keywords: ports mysql apache

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