Click here to register.
      
irc://irc.freenode.net#webgui

iPhoneGuy: WebGUI is a pile of crap.
rizen: If WebGUI is such a pile of crap, why do you use it?
iPhoneGuy: Because it's the best pile of crap out there.

If this is what people who hate us are saying, imagine what people who love us will say. Come join us on IRC.


     Install/Upgrade Help > Non standard port Install

Non standard port Install

User Pentatonic
Date 4/18/2008 10:37 am
Views 818
Rating 0    Rate [
|
]
Previous · Next
User Message
Pentatonic

Hi,

I'm trying to install webgui using wre 0.8.3 and webgui 7.3.19 (on linux). 

I want to run the wre console without using the root user (I have had it running succesfully as root). I understand this blocks out certain port ranges for me and so I want to get it setup to run on a port other than 80.

During the setup I selected the moxproxy port as 1080 and the modperl port as 8082.  Everything goes ok until I add a site, then I have problems starting Modproxy - I get the following error (multiple times) in the modproxy.error.log

[Fri Apr 18 16:38:56 2008] [error] (111)Connection refused: proxy: HTTP: attempt to connect to 127.0.0.1:80 (localhost) failed

Which part of the conf do I need to change to resolve this - I just can't see anything obvious as to why it is still refering to port 80....

Any ideas ?

Thanks in advance

Here are my config file details... (servername as been omitted)

I changed the sitename in eqdev.conf to the full server name

<VirtualHost *:1080>
 ServerName <full servername> 

ServerAlias <full servername> eqdev
 CustomLog /data/domains/eqdev/logs/access.log combined
 DocumentRoot /data/domains/eqdev/public

    # turn on mod_rewrite
 RewriteEngine On
 RewriteLog "/data/wre/var/logs/modrewrite.log"
 RewriteLogLevel 0

 # block IIS related attacks from getting to WebGUI
 RewriteRule RewriteRule RewriteRule RewriteRule # leave static stuff to be served directly by modproxy
    RewriteRule    RewriteRule    # For speed we only pass on uploads if there is a .wgaccess file
    RewriteCond %{REQUEST_FILENAME}             ^(.*/)
    RewriteCond ${DOCUMENT_ROOT}%1.wgaccess     !-f    
    RewriteRule                      - [L]

    # deal with port number in HTTP_HOST
    RewriteCond %{HTTP_HOST} :1080
    RewriteRule # proxy webgui pages
    RewriteRule /VirtualHost>

 

<VirtualHost *:8082>
 ServerName <full server name>
 DocumentRoot /data/domains/eqdev/public
    SetEnvIf SSLPROXY "1" \
        SSLPROXY
    SetHandler perl-script
    PerlInitHandler WebGUI
    PerlSetVar WebguiConfig eqdev.conf
</VirtualHost>

 

 

 

--- (Edited on 4/18/2008 10:37 am [GMT-0500] by Pentatonic) ---



Back to Top
Rate [
|
]
 
 
koen

I'm trying to install webgui using wre 0.8.3 and webgui 7.3.19 (on linux).

WRE 0.8.3 is for use with WebGUI 7.4.22 and higher.

Try installing WebGUI 7.4.33 on the WRE 0.8.3 and let us know what happened.

Koen de Jonge - ProcoliX
http://www.procolix.com
Hosting - WebGUI - Virtualization

--- (Edited on 21-April-2008 16:39 [GMT+0200] by koen) ---



Back to Top
Rate [
|
]
 
 
Pentatonic

Thanks for the reply koen, but it didn't make any difference.  I actually tried the installation twice (with the versions you suggested) once as a non root user and once as root - using the same port numbers each time. In both cases I got the same error as before...

eg [Wed Apr 23 16:47:18 2008] [error] (111)Connection refused: proxy: HTTP: attempt to connect to 127.0.0.1:80 (localhost) failed

The WRE console reports that modproxy didnt start succesfully but I can see the processes have started on the linux server...

a_webgui 26280     1  0 16:16 ?        00:00:00 /data/wre/prereqs/bin/httpd -f /data/wre/etc/modproxy.conf -D WRE-modproxy -E /data/wre/var/logs/modproxy.error.log -k start
a_webgui 26281 26280  0 16:16 ?        00:00:00 /data/wre/prereqs/bin/httpd -f /data/wre/etc/modproxy.conf -D WRE-modproxy -E /data/wre/var/logs/modproxy.error.log -k start
a_webgui 26282 26280  0 16:16 ?        00:00:00 /data/wre/prereqs/bin/httpd -f /data/wre/etc/modproxy.conf -D WRE-modproxy -E /data/wre/var/logs/modproxy.error.log -k start
a_webgui 26283 26280  0 16:16 ?        00:00:00 /data/wre/prereqs/bin/httpd -f /data/wre/etc/modproxy.conf -D WRE-modproxy -E /data/wre/var/logs/modproxy.error.log -k start
a_webgui 26284 26280  0 16:16 ?        00:00:00 /data/wre/prereqs/bin/httpd -f /data/wre/etc/modproxy.conf -D WRE-modproxy -E /data/wre/var/logs/modproxy.error.log -k start
a_webgui 26285 26280  0 16:16 ?        00:00:00 /data/wre/prereqs/bin/httpd -f /data/wre/etc/modproxy.conf -D WRE-modproxy -E /data/wre/var/logs/modproxy.error.log -k start

Also, if I go to the url my site should be working on eg <ServerName>:1080 I get:

Bad Gateway
The proxy server received an invalid response from an upstream server.

I've tried another few random port no's as well and its the same each time.

Incidently, I have had webgui working before using modproxy port 80 on this machine. (everything was deleted before I started the new install - WebGUI folder, domains folder and WRE folder)

Thanks

P

--- (Edited on 4/23/2008 10:44 am [GMT-0500] by Pentatonic) ---



Back to Top
Rate [
|
]
 
 

Re: Overriding inbox emails by JT - Sun @ 07:35pm

Re: Buying documentation from plainblack by knowmad - Sun @ 07:28pm

Re: Lincense Issues by knowmad - Sun @ 07:15pm

Re: Overriding inbox emails by knowmad - Sun @ 07:12pm

Re: Advanced Search template by knowmad - Sun @ 06:57pm

Re: The goal by dionak - Sun @ 01:20pm

Re: How to connect a Profile Field to a User Group? by LoopSetShop - Sun @ 11:13am

Re: How to connect a Profile Field to a User Group? by LoopSetShop - Sun @ 10:45am

Re: How to connect a Profile Field to a User Group? by perlDreamer - Sun @ 10:32am

How to connect a Profile Field to a User Group? by LoopSetShop - Sun @ 09:45am

Re: WebGUI Drinks by bernd - Sun @ 07:58am

Re: RSVP function in WebGUI? by pvanthony - Sun @ 03:26am

Smoketest For nightly_2008-09-07 by Visitor - Sun @ 01:47am