[users@httpd] Re: redirection url

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

 



or, is the http://server2/index.html file present?
if so, this code will work:
< H t m l >
< h e a d >
<M E T A redirect="http://server1:8085/--SomeUri/"; >
< / h e a d >
< b o d y >
<c e n t e r> redirect to http://server1:8085/--someUri-- </c e n t e r >
< / b o d y >
< / h t m l >
in the index.html in the wwwroot of server2.

On 7/21/06, Joshua Slive <joshua@xxxxxxxx> wrote:
On 7/21/06, d.martineau@xxxxxxxxx <d.martineau@xxxxxxxxx> wrote:
>
>
> Hi,
>
> i try to precise the descriptiopn
>
> It's not for internet accessibility but only on the enterprise, so :
>
> i've a reporting intranet, accessible by the url :
>
> http://serveur1:8085/uri/ (accessibly only on the enterprise)
>
> I would like to simplify the url like this
>
> http://serveur2/
>
> I configure a dns entry (alias)
>
> When i do
>
> http://serveur2:8085/uri/ it's OK
>
> but how can i make in apache to redirect
>
> http://serveur2/ towards http://serveur1:8085/uri/
>
> i hope that's more explicit.

ProxyPass / http://serveur1:8085/uri/
ProxyPassReverse / http://serveur1:8085/uri/

Joshua.

---------------------------------------------------------------------
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




--
"Space does not reflect society, it expresses it." -- Castells, M.,
Space of Flows, Space of Places: Materials for a Theory of Urbanism in
the Information Age, in The Cybercities Reader, S. Graham, Editor.
2004, Routledge: London. p. 82-93.

---------------------------------------------------------------------
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