plainblack.com Username Password
Click here to register.
| View Cart (0)
download WebGUI now
search  

     Install > Forum

Customising wre to work with vservers

User habbers
Date 6/26/2006 9:14 pm
Views 2129
Rating 16    Rate [
|
]
Previous · Next
User Message
habbers
Hi

 I am just in the process of doing an evaluation of CMS systems and in order to be able to easily test a number of systems on the one machine am using linux vserver's. In order to do this I need to restrict apache to listen to the specific ipaddress for each vserver. I am having trouble restricting webgui to listen only on one ipaddress. I have changed all the modperl and modproxy files in /data/wre/etc so that the VirtualHost is set to the specific ipaddress of the client eg:

 <VirtualHost 10.35.1.69:80>

but webgui continues to listen across all ipaddresses for that device according to netstat:

tcp6       0      0 :::80                   :::*                    LISTEN     19914/httpd
tcp6       0      0 :::81                   :::*                    LISTEN     19893/httpd

I also tried changing all the virtualhost settings and listen port settings in the files in /data/wre/var/ and /data/wre/var/setupfiles . These where the .template files and other files the setupfiles directory. Nothing seemed to effect what ipaddress the httpd processes run by the apache in webgui wre listened on.

Does anyone know where these settings need to be changed or do I have to specify the ports prior to building wre. Any help would be greatly appreciated as I am really impressed with WebGui and amazed at the work that has gone into since I looked at it in 2002. The wre is great as i remember it taking me a lot longer to install 3 years ago than the couple of hours it took me to install it this most of that was just waiting for the wre to compile :)

cheers
John

--- (Edited on 6/26/2006 9:14 pm [GMT-0500] by habbers) ---



Back to Top
Rate [
|
]
 
 
yhkhoe

Did you use Listen in /data/wre/prereqs/apache/conf/httpd.modperl.conf and /data/wre/prereqs/apache/conf/httpd.modproxy.conf?

 

#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
#
#Listen 12.34.56.78:80
 

 Yung

--- (Edited on 6/27/2006 3:18 am [GMT-0500] by yhkhoe) ---



Back to Top
Rate [
|
]
 
 
habbers

No I did not. Thank you very much for your help Yung that fixed my problem.  Had in my head that they where used for the build of WebGui and didn't think to check them.

 cheers

John 

--- (Edited on 7/14/2006 11:47 pm [GMT-0500] by habbers) ---



Back to Top
Rate [
|
]
 
 
     Install > Forum



© 2009 Plain Black Corporation | All Rights Reserved