How to create an alias?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere HTTP Server > How to create an alias?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    How to create an alias?  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-26-06 10: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.





[ Post a follow-up to this message ]



    Re: How to create an alias?  
Sunit Patke


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-27-06 01:49 AM

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.







[ Post a follow-up to this message ]



    Re: How to create an alias?  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-27-06 07: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





[ Post a follow-up to this message ]



    Re: How to create an alias?  
Sunit Patke


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-03-06 11: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







[ Post a follow-up to this message ]



    Re: How to create an alias?  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-03-06 11:57 PM

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





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:59 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register