Vivek Khera wrote:
> 
> >>>>> "CLE" == Christopher L Everett <[EMAIL PROTECTED]> writes:
> 
> CLE> 2) If 1 above is "yes", since the cookie was intended for a
> CLE>    .baz.org server, won't the perl.foo.org Apache drop the
> CLE>    cookie in the bit-bucket?
> 
> The client (IE, Netscape) won't send a cookie for .baz.org to the
> perl.foo.org host; also, it probably won't let you to set such a
> cookie unless you are a *.baz.org host.

This is the way I have it now:

1) set up IP aliases for the loopback adapter like so:

  ifconfig lo:0 192.168.0.1 netmask 255.255.255.0
  ifconfig lo:1 192.168.0.2 netmask 255.255.255.0
  ifconfig lo:2 192.168.0.3 netmask 255.255.255.0

2) added entries to the hosts file like this

  192.168.0.1  perl.foo.org
  192.168.0.2  perl.bar.org
  192.168.0.3  perl.baz.org

3) modified the virtual hosts in the httpd-lite.conf to look like this

  <VirtualHost 123.123.123.123>
    ServerName www.foo.org
    ProxyPass        /nit/ httpd://perl.foo.org/nit/  
    ProxyPassReverse /nit/ httpd://perl.foo.org/nit/ 
    # and whatever else I need
  </VirtualHost>

4) modified the httpd-perl.conf to have virtual hosts like this

  <VirtualHost 192.168.0.1>
    ServerName perl.foo.org
    ProxyPass        /nit/ httpd://perl.foo.org/nit/  
    ProxyPassReverse /nit/ httpd://perl.foo.org/nit/  
    # and whatever else I need
  </VirtualHost>

Now, mod_perl and the front end are both in the same domain, so the 
cookie should go through, right?  But it doesn't.

  --Christopher

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to