WebSphere HTTP Server - How to create an alias?

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere HTTP Server > March 2006 > How to create an alias?





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 How to create an alias?

2006-02-26, 5:52 pm

hi,
I'm a newbie in the Websphere world.
My environment : PeopleSoft with Websphere 5.1 / HttpServer
I want to create an alias.
ex : when users type http://proderp the following url is invoked
http://servername/psp/PROD/
I've created a DNS : proderp <-> servername
I read a lot docs but I don't know how to create this alias.
Thanks for your help.
Sunit Patke

2006-02-26, 8:49 pm

One option is to crete an index.html file in the document root of servername
(check httpd.conf file) with the following content:

<html>
<HEAD>
<META HTTP-EQUIV=Refresh CONTENT="0;URL=http://servername/psp/PROD/">
</HEAD>
<body>
</body>
</html>


Sunit

<h.arnaud@brinks.fr> wrote in message
news:707544720.1140987160575.JavaMail.wassrvr@ltsgwas007.sby.ibm.com...
> hi,
> I'm a newbie in the Websphere world.
> My environment : PeopleSoft with Websphere 5.1 / HttpServer
> I want to create an alias.
> ex : when users type http://proderp the following url is invoked
> http://servername/psp/PROD/
> I've created a DNS : proderp <-> servername
> I read a lot docs but I don't know how to create this alias.
> Thanks for your help.



2006-02-27, 2:49 am

Hi Sunit,
can you send me an email please to explain your solution.
This present page is redirected to http://servername/psp/PROD/
and I don't have the time to read your solution, but it's exacly what I want to do.
Thanks a lot.
My personal email : h.arnaud@brinks.fr
Sunit Patke

2006-03-03, 6:57 pm

Check your httpd.conf file. This is the configuration of your HTTP server (I
presume that you are using IBM HTTP Server which is based on Apache).
You should have a DocumentRoot directive either globally or within a
VirtualHost. DocumentRoot points the root content directory for this HTTP
server. If there is an Index.html file in this directory, rename it to
index.old.html and create a new index.html file with the following code:
<html>
<HEAD>
<META HTTP-EQUIV=Refresh CONTENT="0;URL=http://servername/psp/PROD/">
</HEAD>
<body>
</body>
</html>

Make sure that you replace "servername" with appropriate server name.

Sunit


When user uses the URL http://proderp it will
<h.arnaud@brinks.fr> wrote in message
news:736085718.1141016704385.JavaMail.wassrvr@ltsgwas007.sby.ibm.com...
> Hi Sunit,
> can you send me an email please to explain your solution.
> This present page is redirected to http://servername/psp/PROD/
> and I don't have the time to read your solution, but it's exacly what I
> want to do.
> Thanks a lot.
> My personal email : h.arnaud@brinks.fr



2006-03-03, 6:57 pm

Sunit,
can you please send me an email (h.arnaud@brinks.fr) because I can't read your code. The page is redected to http/servername.... after a few seconds.
Thanks a lot.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com