httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krist van Besien" <krist.vanbes...@gmail.com>
Subject Re: [users@httpd] RewriteRule trouble
Date Mon, 22 Oct 2007 07:41:39 GMT
On 10/22/07, BP Jonsson <bpjonsson@gmail.com> wrote:
> How should I write a rewrite rule so that it appears to
> visitors that they are at http://foo(.*) but the files
> reside at http://bar/site/foo? Supposing that the rewrite
> rule is in a .htaccess under the foo root directory, what
> should it look like?

ReWriteRule    http://foo.com/     http://bar.com/site/foo   [P]

Krist



-- 
krist.vanbesien@gmail.com
krist@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-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