RE: redirects conundrum

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:ebowman@xxxxxxxxx]
> Sent: Friday, September 12, 2008 10:29 AM
> To: users@xxxxxxxxxxxxxxxx
> Subject: Re:  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
> ebowman@xxxxxxxxx
> 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: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

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


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux