"Christopher L. Everett" wrote:
> 
> 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.
>

Ahhh, but it does work.  Changed Apache::Cookie->fetch($r) to 
Apache::Cookie->parse and all was well.  What a relief, five days
of agony vindicated (kind of).

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

Reply via email to