LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > Apache Migration/Compatibility > .htaccess and mod_proxy

Reply
 
Thread Tools Display Modes
  #1  
Old 09-07-2009, 05:36 PM
EvoIX_MR2006 EvoIX_MR2006 is offline
Member
 
Join Date: Feb 2009
Posts: 29
Default .htaccess and mod_proxy

Hello.

I am attempting to do a reverse proxy with a site we have that uses a remote web-server. I am trying to maintain a .htaccess file that has a proxy RewriteRule in it. This re-write rule isn't just a simple re-write, it has a few pieces after the $1, for example:

RewriteRule (.*) http://www.thedomain.net/$1?prog_id=something&%{QUERY_STRING} [P]

When I just setup the RewriteRule, LiteSpeed tells me I need to add an external app with the web server as the name. When I do this, it works..somewhat. It directs me straight to www.thedomain.net, without any regard for the ?prog_id=, etc.

I've read that I need to be using the 'Context' proxy, however I havent had a whole lot of success setting this up either. When I set it up for where it needs to be, it continues to redirect me to www.thedomain.net, as if nothing had changed...

Any help would be great.
Reply With Quote
  #2  
Old 09-08-2009, 10:56 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Currently the rewrite rule does not support changing query string, can only change the request URI part. Next release will support changing query string.
Reply With Quote
  #3  
Old 09-08-2009, 01:36 PM
EvoIX_MR2006 EvoIX_MR2006 is offline
Member
 
Join Date: Feb 2009
Posts: 29
Ah, ok, that would be why.

Do you have an estimated time table for this release?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 05:07 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.