httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Mearns <>
Subject Re: [users@httpd] A dumb question but it has me stumped...
Date Sun, 29 Mar 2009 14:19:14 GMT
On Sun, Mar 29, 2009 at 6:34 AM, Glen Barber <> wrote:
> On Sun, Mar 29, 2009 at 6:18 AM, Mike Lyon <> wrote:
>> Hello Again,
>> I have a reverse proxy configured and I would like to make it so if someone
>> goes to that they get redirected to
>> /beginhere.html
>> I have tried using the alias and redirect directive but I have gotten no
>> where. The various items I have tried are:
>> redirect / /beginhere.html
>> &
>> alias / /beginhere.html
>> &
>> RewriteEngine On
>> RewriteRule ^/$
>> None of these work. Am I even able to do this kind of fine-grained
>> forwarding at the proxy level?

I don't think you can use full URI's in a rewrite rule without using
the R (redirect) flag. So I think the rewrite rule you want is:
RewriteRule ^/$ [R]

But is the name of the apache server you're actually
configuring, because then you don't need to use the full domain, just

RewriteRule ^/$ /beginhere.html [R]

And in this case, you don't need the [R] flag if you don't want, but
it the new URL won't show up in the user's browser without that flag,
it will be a transparent rewrite performed only the server, the user
will be oblivious to it.


Feel free to contact me using PGP Encryption:
Key Id: 0x3AA70848
Available from:

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message