You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Anthony Browne <aa...@widernet.org> on 2006/04/24 23:30:22 UTC

[users@httpd] maintaining session after mod_rewrite

Hello everyone,

	I have a question about maintaining the session after mod_rewrite
successfully applies a rewrite rule. Currently, I have a bunch of links that
look like this:
http://www.serverName.org/external.html?link=http://www.anotherServer.com/
I can successfully extract the 'www.another_server.com' and proxy it with
the P flag, but then the page doesn't load the pics, they're referenced by
the 'www.serverName.org' when they are fetched. How can I maintain the
session when I proxy a request this way?



---------------------------------------------------------------------
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


Re: [users@httpd] maintaining session after mod_rewrite

Posted by Joshua Slive <jo...@slive.ca>.
On 4/24/06, Anthony Browne <aa...@widernet.org> wrote:
> Hello everyone,
>
>         I have a question about maintaining the session after mod_rewrite
> successfully applies a rewrite rule. Currently, I have a bunch of links that
> look like this:
> http://www.serverName.org/external.html?link=http://www.anotherServer.com/
> I can successfully extract the 'www.another_server.com' and proxy it with
> the P flag, but then the page doesn't load the pics, they're referenced by
> the 'www.serverName.org' when they are fetched. How can I maintain the
> session when I proxy a request this way?

Are you saying that www.anotherServer.com has relative links to images
that are broken when you proxy the response?  If so, you need to
google for mod_proxy_html.

Joshua.

---------------------------------------------------------------------
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