>   Hi. I have two servers, mod_perl:80 + plain:8080, and I have the old
> problem of eliminating :8080. I've read the guide and several docs but I
> haven't found the solution yet. My mod_perl:80 gets a request and asks for
> a document on plain:8080, the deal is that links on the document requested
> are shown in the status bar as myserver:8080/whatever.html. I just want to
> get rid of that 8080, not to redirect to anywhere.
> 
>   I've been playing with RewriteRules and ProxyPass in the plain server
> but didn't work. Don't know if it can be done... TIA

You can hide the port of the back-end server only if there is someone on
the way to do that for you.

Most of the people with single machine/IP use:

requests => plain_apache+mod_proxy:80 <=> mod_perl:8080
        |||                           |||
        all                      only /perl     

or
                   all but /perl
                     |||
                     //<=> plain_apache:8000
requests => squid:80 
        |||          \\<=>     mod_perl:8080
        all          |||
                    only /perl

or

                   all but /perl
                     |||
                     //<=> plain_apache:127.0.0.1:80
requests => squid:80 
        |||          \\<=>     mod_perl:127.0.0.1:8080
        all          |||
                    only /perl

All 3 approaches are at:
http://perl.apache.org/guide/strategy.html
http://perl.apache.org/guide/scenario.html

You are trying to make the vice versa, so you will have to point
everything to port 80 and let mod_perl to proxy the plain server, which is
ineffective taken that you have more than 10% of static traffic (a number
from my head, don't rely on it :) If you have <10% of static traffic read:

One Light and One Heavy Servers where ALL htmls are Perl-Generated
http://perl.apache.org/guide/scenario.html#One_Light_and_One_Heavy_Servers_

Hope this helps...

_______________________________________________________________________
Stas Bekman  mailto:[EMAIL PROTECTED]    www.singlesheaven.com/stas  
Perl,CGI,Apache,Linux,Web,Java,PC at  www.singlesheaven.com/stas/TULARC
www.apache.org  & www.perl.com  == www.modperl.com  ||  perl.apache.org
single o-> + single o-+ = singlesheaven    http://www.singlesheaven.com

Reply via email to