I was going to suggest having the backend server listen on localhost:80,
with the proxying server listening on <public addres>:80, then the
redirects from either would be to port 80.

This suggestion of Tony's certainly seems like a cleaner solution though.
(Plus, I learned something I didn't know about this interaction of Listen
and Port directives -- always "a good thing" (tm) ;^)

On Mon, 12 Feb 2001, Ime Smits wrote:

> | Use the following config:
> | Listen 81
> | Port 80
> | In the presence of a Listen directive, the Port directive acts like
> | ServerName, i.e. it's what the server calls itself regardless of the
> | name that other people use to get to it.
> 
> OK, thanks a lot, that does the trick. I tried that earlier today, but I
> overlooked an explicit ServerName directive somewhere else in httpd.conf, 
> overruling mod_vhost_alias...
> 
> Thanks again!
> 
> Ime
> 

=-=-=-=-=-=-=-=-=-=-  My God!  What have I done?  -=-=-=-=-=-=-=-=-=-=
Steve Reppucci                                       [EMAIL PROTECTED] |
Logical Choice Software                          http://logsoft.com/ |

Reply via email to