|
Home > Archive > WebSphere HTTP Server > July 2005 > redirection of url
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
redirection of url
|
|
|
| Hi,
The problem is that when I click on the below link http://test.apsrv262.ctt.com
I am expecting the http server (Iam using the IBM HTTPServer v6 as the webserver)to redirect me to the following url.
http://test.apsrv262.ctt.com/eStatu...s?brandName=xyz
For that reason I have added the following snippet to the httpd.conf.
This is how we usually do.But I dont know where it got messed up.This is not working.Please help me with this.This is kind of urgent issue for me.
# test
<VirtualHost 100.250.44.162:80>
ServerName test.apsrv262.ctt.com
ServerAlias test.apsrv262.ctt.com
RedirectMatch permanent /$ http://test.apsrv262.ctt.com/eStatu...s?brandName=xyz
</VirtualHost>
Thanks,
Mano.
| |
| Sunit Patke 2005-07-05, 5:58 pm |
| Mano,
In the document root for the web server (usually "htdocs/en_US" in US) there
is a file called index.html
Take a backup of that file and then create a new index.html with the
following code:
<html>
<HEAD>
<META HTTP-EQUIV=Refresh CONTENT="0;URL=/eStatus/login.faces?brandName=xyz">
</HEAD>
<body>
</body>
</html>
This is how I prefer to do it instead of changing the httpd.conf
Sunit
<mmalapati@yahoo.com> wrote in message
news:1026977142.1120349670792.JavaMail.wassrvr@ltsgwas007.sby.ibm.com...
> Hi,
> The problem is that when I click on the below link
> http://test.apsrv262.ctt.com
>
> I am expecting the http server (Iam using the IBM HTTPServer v6 as the
> webserver)to redirect me to the following url.
> http://test.apsrv262.ctt.com/eStatu...s?brandName=xyz
>
>
> For that reason I have added the following snippet to the httpd.conf.
> This is how we usually do.But I dont know where it got messed up.This is
> not working.Please help me with this.This is kind of urgent issue for me.
>
> # test
> <VirtualHost 100.250.44.162:80>
> ServerName test.apsrv262.ctt.com
> ServerAlias test.apsrv262.ctt.com
> RedirectMatch permanent /$
> http://test.apsrv262.ctt.com/eStatu...s?brandName=xyz
>
> </VirtualHost>
>
> Thanks,
> Mano.
>
>
>
| |
|
| Hi,
Thanks for the reply.But I was not able to view .It is directly getting redirected to http://www.ibm.com/us/.
So please help me with this.
Thanks,
Mano.
| |
| Sunit Patke 2005-07-06, 6:01 pm |
| Mano,
Can you please elaborate. What is getting redirected to
http://www.ibm.com/us/ ?
Sunit
<mmalapati@yahoo.com> wrote in message
news:2145250575.1120595986172.JavaMail.wassrvr@ltsgwas007.sby.ibm.com...
> Hi,
> Thanks for the reply.But I was not able to view .It is directly getting
> redirected to http://www.ibm.com/us/.
> So please help me with this.
> Thanks,
> Mano.
|
|
|
|
|