Re: [users@httpd] Re: question about URL displaying

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I think you want ReWrite instead of Redirect.  redirect sends a 302 to
the browser and so the browser displays the new address.  Have a look
at the rewrite docs and see if they help you.

cheers
dim

On 6/7/06, Tao Yaoning <yonienjcn@xxxxxxxxx> wrote:
Anybody knows?


On 5/26/06, Tao Yaoning <yonienjcn@xxxxxxxxx> wrote:
>
>
> Hello Guys
>
> I have two apache servers. ServerA has a public Domain Name my.domain.com
, and ServerB only have a public IP 2xx.2xx.2xx.2xx.
>
> SeverA hosts my company website, can be accessed by using
http://my.domain.com , ServerB hosts all users private website, can be
accessed by using http://2xx.2xx.2xx.2xx/~username
>
> Because remember IP address is so annoyed for users, and they want to
access their private website by using http://my.domain.com/username .
>
> On ServerA, I configured redirect
>
> Redirect    /username
http://2xx.2xx.2xx.2xx/~username
> It works fine, and users can access their private website properly. But in
their address bar, it displays
http://2xx.2xx.2xx.2xx/~username.
> I hope it can only display as http://my.domain.com/username in address
bar. Is it possible? If yes, anybody can tell me how to configure it.
>
> Thanks very much
>
>
> Yaoning



--
looking for Network Adminstrator Position

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux