You might want to look at

http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewriterule

the "'redirect|R  [=code]' (force redirect)" section?

benji

Benji Spencer
System Administrator

Moody Bible Institute
Phone: 312-329-2288
Fax: 312-329-8961


> -----Original Message-----
> From: Eric Bowman [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 12, 2008 10:29 AM
> To: [email protected]
> Subject: Re: [EMAIL PROTECTED] redirects conundrum
> 
> Ben Spencer wrote:
> > The issue is that you are redirecting / to /a/
> >
> > You can accomplish what you need with mod_rewrite, though I am not
> sure the
> > processing order for redirects done with Redirect and those done with
> > mod_rewrite so this might involve changing the Redirect permanent
> directives
> > to mod_rewrite redirect directives.
> >
> 
> I don't think we can accomplish what we need with mod_rewrite.  We need
> /a/ in the address bar to manage cookie domains correctly.  We are
> redirecting instead of rewriting for client-side reasons.
> 
> If we rewrite instead of redirecting, we end up with big cookies that
> get sent with every request to the server.  By redirecting to /a/, our
> cookies end up with the /a/ path and hence don't get sent with all the
> requests to /bar.
> 
> Thanks,
> Eric
> 
> --
> Eric Bowman
> Boboco Ltd
> [EMAIL PROTECTED]
> http://www.boboco.ie/ebowman/pubkey.pgp
> +35318394189/+353872801532
> 
> 
> ---------------------------------------------------------------------
> 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: [EMAIL PROTECTED]
>    "   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to