httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Spencer <ben.spen...@moody.edu>
Subject RE: [users@httpd] redirects conundrum
Date Fri, 12 Sep 2008 16:14:14 GMT
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@boboco.ie]
> Sent: Friday, September 12, 2008 10:29 AM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] 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@boboco.ie
> 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message