/ Zope / Apsis / Pound Mailing List / Archive / 2006 / 2006-08 / Ubuntu-server and pound for redirecting

[ << ] [ >> ]

[ Current Configuration (Is anybody working this ... ] [ SERVER DOWN. PLEASE HELP NOW / beno ... ]

Ubuntu-server and pound for redirecting
"dirk dekker" <hf.dekker(at)chello.nl>
2006-08-07 09:57:36 [ FULL ]
Hello,
 
I am very pleased to discover your product : pound. Now I have a system
running under UbuntU_server.
Looks greate but as newbee with Linux my problem is what to do next.
I like to run pound as redirector for two webservers behind and installed
three NIC's.
One for the outside and number 2 and 3 for redirecting on the insite.

If you will be so kind please inform me about any help? Maybe a step-by-step
procedure?
Thanks!
Dirk

Re: [Pound Mailing List] Ubuntu-server and pound for redirecting
Mike Withers <M.withers(at)uws.edu.au>
2006-08-07 11:03:31 [ FULL ]
Dirk

I'm still new to this as well but here goes. If anyone feels that 
they need to correct me please feel free to do so. You need to unpack 
the tar.gz file. Say you have a Pound 2.0.9 file the command would be:

tar xvzf Pound-2.0.9.tgz

you would then have a directory called:

Pound-2.0.9/

read the README file. This will give you basic idea of setting up. 
See how you go.

Enjoy - Mike Withers

At 05:57 PM 7/08/2006, you wrote:[...]

RE: [Pound Mailing List] Ubuntu-server and pound for redirecting
"Hennie Dekker" <hf.dekker(at)chello.nl>
2006-08-07 16:27:31 [ FULL ]
Hi Mike,

Just a question: I downloaded the pound version on a windows XP PC.
How do I transport it to the Ubuntu server?
By CD or USB-keu ( will that work anyway?) or by network?

Thanks,

Dirk 

-----Oorspronkelijk bericht-----
Van: Mike Withers [mailto:M.withers(at)uws.edu.au] 
Verzonden: maandag 7 augustus 2006 11:04
Aan: pound(at)apsis.ch
Onderwerp: Re: [Pound Mailing List] Ubuntu-server and pound for redirecting

Dirk

I'm still new to this as well but here goes. If anyone feels that they need
to correct me please feel free to do so. You need to unpack the tar.gz file.
Say you have a Pound 2.0.9 file the command would be:

tar xvzf Pound-2.0.9.tgz

you would then have a directory called:

Pound-2.0.9/

read the README file. This will give you basic idea of setting up. 
See how you go.

Enjoy - Mike Withers

At 05:57 PM 7/08/2006, you wrote:[...]


--
To unsubscribe send an email with subject 'unsubscribe' to pound(at)apsis.ch.
Please contact roseg(at)apsis.ch for questions.
http://www.apsis.ch/pound/pound_list/archive/2006/2006-08/1154937456000/1154
941411000

RE: [Pound Mailing List] Ubuntu-server and pound for redirecting
Jeffrey Brown <jbrown(at)camsys.com>
2006-08-07 16:35:29 [ FULL ]
Return Receipt
                                                                           
   Your       RE: [Pound Mailing List] Ubuntu-server and pound for         
   document:  redirecting                                                  
                                                                           
   was        jbrown(at)camsys.com                                            
   received                                                                
   by:                                                                     
                                                                           
   at:        08/07/2006 10:35:28 AM
Attachments:  
text.html text/html 704 Bytes

Re: [Pound Mailing List] Ubuntu-server and pound for redirecting
Falk Brockerhoff <fb(at)smartterra.de>
2006-08-07 16:53:14 [ FULL ]
Jeffrey Brown schrieb:
[...]

Ouch, Return Receipts for messages on a mailing list?!

PLEASE stop this!
Attachments:  
fb.vcf text/x-vcard 363 Bytes

Re: [Pound Mailing List] Ubuntu-server and pound for redirecting
"Chris Anderson" <kill-9(at)hobbiton.org>
2006-08-08 00:17:23 [ FULL ]
i too am using pound on ubuntu, and i was able to compile and install
2.1with no issues ( after running  apt-get install build-essential;
 apt-get build-dep pound  thanks adam!)

well, no issues other than the one i am about to explain.

i set it up to proxy for two servers, one is a windows2003 server running
iis, the other is a linux based machine.

both are VMWare virtual machines that are actually running on the ubuntu
box.

so here is the setup:
ubuntu 6.1 is running pound (192.168.2.20)
win2003 running iis ( 192.168.2.21)
LAMP host running mediawiki (192.168.2.22)
firewall on default gateway (192.168.2.1) forwarding port 80 to 192.168.2.20

the problem:  the virtual hosts on the IIS box get error 503, while the
linux based host displays just fine.

the IIS host displays pages just fine when port 80 is forwarded to it from
the firewall.

here is the config (the tabs are probably going to buthcher it):

        ListenHTTP
            Address 192.168.2.20
            Port    80

            Service
                HeadRequire "Host: .*vh1.iishost.com.*"
                HeadRequire "Host: .*vh2.iishost.com.*"

                HeadDeny    "Host: .*vh1.lamphost.com.*"

                BackEnd
                    Address 192.168.2.21
                    Port    80
                End
            End

            Service
                HeadRequire "Host: .* vh1.lamphost.com.*"

                BackEnd
                    Address 192.168.2.22
                    Port    80
                End
            End
        End



i am sure i am missing something important in the config file, but i have no
clue where to start.

to re-state the problem, i have an IIS host that serves pages fine with port
80 forwarded to it.  when i use pound on my ubuntu host, and forward port 80
to it, i get the site hosted on the LAMPhost just fine, but a 503 error on
the IIShost.
  the problem is easy to get around for the time being, i just go back to
forwarding port 80 to the IIShost.
Attachments:  
text.html text/html 4526 Bytes

RE: [Pound Mailing List] Ubuntu-server and pound for redirecting
"John D" <jwdavid(at)ibizvision.com>
2006-08-08 00:33:51 [ FULL ]
Hi,

If I am not mistaken, all the HeadRequires are ANDed together, so they must ALL
be true to use that service. Try this instead:

HeadRequire "Host: .*(vh1.iishost.com|vh2.iishost.com).*"

In place of both of your current HeadRequires.

John D.

PS I have never actually done this in my Pound config, but it or something very
much like it should work depending on how the RegEx is interprited. You may
have to escape the parens: "\(...\)".

********** Original Email *********
** To:   pound(at)apsis.ch
** From: kill-9(at)hobbiton.org
** Date: Mon, 7 Aug 2006 18:17:23
**********

i too am using pound on ubuntu, and i was able to compile and install
2.1with no issues ( after running  apt-get install build-essential;
 apt-get build-dep pound  thanks adam!)

well, no issues other than the one i am about to explain.

i set it up to proxy for two servers, one is a windows2003 server running
iis, the other is a linux based machine.

both are VMWare virtual machines that are actually running on the ubuntu
box.

so here is the setup:
ubuntu 6.1 is running pound (192.168.2.20)
win2003 running iis ( 192.168.2.21)
LAMP host running mediawiki (192.168.2.22)
firewall on default gateway (192.168.2.1) forwarding port 80 to 192.168.2.20

the problem:  the virtual hosts on the IIS box get error 503, while the
linux based host displays just fine.

the IIS host displays pages just fine when port 80 is forwarded to it from
the firewall.

here is the config (the tabs are probably going to buthcher it):

        ListenHTTP
            Address 192.168.2.20
            Port    80

            Service
                HeadRequire "Host: .*vh1.iishost.com.*"
                HeadRequire "Host: .*vh2.iishost.com.*"

                HeadDeny    "Host: .*vh1.lamphost.com.*"

                BackEnd
                    Address 192.168.2.21
                    Port    80
                End
            End

            Service
                HeadRequire "Host: .* vh1.lamphost.com.*"

                BackEnd
                    Address 192.168.2.22
                    Port    80
                End
            End
        End



i am sure i am missing something important in the config file, but i have no
clue where to start.

to re-state the problem, i have an IIS host that serves pages fine with port
80 forwarded to it.  when i use pound on my ubuntu host, and forward port 80
to it, i get the site hosted on the LAMPhost just fine, but a 503 error on
the IIShost.
  the problem is easy to get around for the time being, i just go back to
forwarding port 80 to the IIShost.

[...]

RE: [Pound Mailing List] Ubuntu-server and pound for redirecting
Mike Withers <M.withers(at)uws.edu.au>
2006-08-08 04:03:12 [ FULL ]
Hennie

I normally SFTP it from a windows box to linux box if I've downloaded 
it to a windows box.

Regards Mike

At 12:27 AM 8/08/2006, you wrote:[...]

RE: [Pound Mailing List] Ubuntu-server and pound for redirecting
"Hennie Dekker" <hf.dekker(at)chello.nl>
2006-08-29 20:41:03 [ FULL ]
Hello Mike,

I am running now an ubuntu 5.10 ( breeze) server with pound 1.9-1
It was not too difficult to install it. But as always if you have the
knowledge than it's a peak of cake.

What next?
How do I a test with it?

Any suggestions are very welcome!!

Dirk

-----Oorspronkelijk bericht-----
Van: Mike Withers [mailto:M.withers(at)uws.edu.au] 
Verzonden: maandag 7 augustus 2006 11:04
Aan: pound(at)apsis.ch
Onderwerp: Re: [Pound Mailing List] Ubuntu-server and pound for redirecting

Dirk

I'm still new to this as well but here goes. If anyone feels that they need
to correct me please feel free to do so. You need to unpack the tar.gz file.
Say you have a Pound 2.0.9 file the command would be:

tar xvzf Pound-2.0.9.tgz

you would then have a directory called:

Pound-2.0.9/

read the README file. This will give you basic idea of setting up. 
See how you go.

Enjoy - Mike Withers

At 05:57 PM 7/08/2006, you wrote:[...]


--
To unsubscribe send an email with subject 'unsubscribe' to pound(at)apsis.ch.
Please contact roseg(at)apsis.ch for questions.
http://www.apsis.ch/pound/pound_list/archive/2006/2006-08/1154937456000/1154
941411000

RE: [Pound Mailing List] Ubuntu-server and pound for redirecting
Jeffrey Brown <jbrown(at)camsys.com>
2006-08-29 21:14:10 [ FULL ]
Return Receipt
                                                                           
   Your       RE: [Pound Mailing List] Ubuntu-server and pound for         
   document:  redirecting                                                  
                                                                           
   was        jbrown(at)camsys.com                                            
   received                                                                
   by:                                                                     
                                                                           
   at:        08/29/2006 03:14:10 PM
Attachments:  
text.html text/html 704 Bytes

MailBoxer