On Tue, Jan 13, 2009 at 10:45 PM, Marcin <w...@saepia.net> wrote:


> I've tried also to force it to treat this as an URL, not a path by passing
> full URL:
>
> RewriteEngine On
> RewriteCond %{HTTP_HOST} (.+)\.demo\.myapp\.com$
> RewriteRule ^/$ http://%0/usersite/%1
>
> As log says, it constructs URL in a good way, but it invokes 302 redirect.

Add the [P] flag to force proxying...

Krist


-- 
krist.vanbes...@gmail.com
kr...@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to