The links are not broken, but I solved this issue another way.
Apparently, mod_rewrite will erase the query string if you place a '?'
after the substitution, otherwise it will append it. I needed this with
a redirect (R) instead of proxy (P). Thanks for the help though, I
appreciate it.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joshua
Slive
Sent: Monday, April 24, 2006 4:35 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] maintaining session after mod_rewrite

On 4/24/06, Anthony Browne <[EMAIL PROTECTED]> 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.co
m/
> 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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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

Reply via email to