mod_proxy and VirtualHost

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

mod_proxy and VirtualHost

Kevin Old
Hello everyone,

I'm trying to configure Apache 1.3.33 with mod_proxy so that
everything that goes to  or comes from http://rt.uavco.com will be
directed to http://rt.uavco.com:8080.

Here's a part of my current httpd.conf

Listen 80
Listen 8080
[.....]
<VirtualHost rt.uavco.com:80>
    ProxyPass / http://rt.uavco.com:8080/
    ProxyPassReverse / http://rt.uavco.com:8080/
</VirtualHost>
#ProxyRequests Off
<VirtualHost rt.uavco.com:8080>
    ServerName rt.uavco.com:8080
    DocumentRoot /opt/rt3/share/html
    AddDefaultCharset UTF-8
                                                                               
    PerlModule Apache::DBI
    PerlRequire /opt/rt3/bin/webmux.pl
                                                                               
    <Location />
        SetHandler perl-script
        PerlHandler RT::Mason
    </Location>
</VirtualHost>

Now, everything that goes to that server is directed to
http://rt.uavco.com:8080.

Can anyone tell me what I'm doing wrong here?

Any help is appreciated!

Kevin
--
Kevin Old
[hidden email]

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [hidden email]
   "   from the digest: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: mod_proxy and VirtualHost

Joshua Slive
On 4/26/05, Kevin Old <[hidden email]> wrote:
> Hello everyone,
>
> I'm trying to configure Apache 1.3.33 with mod_proxy so that
> everything that goes to  or comes from http://rt.uavco.com will be
> directed to http://rt.uavco.com:8080.

> Now, everything that goes to that server is directed to
> http://rt.uavco.com:8080.
>
> Can anyone tell me what I'm doing wrong here?

Read the documentation on name-virtual-hosts:
http://httpd.apache.org/docs-2.0/vhosts/name-based.html

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [hidden email]
   "   from the digest: [hidden email]
For additional commands, e-mail: [hidden email]

Loading...