Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Display other html instead of IBM HTTP Server default page

1,461 views
Skip to first unread message

ngiik yan

unread,
Mar 12, 2001, 10:34:37 AM3/12/01
to
When I typed the IP address of my web server, the browser will display
the default page of IBM HTTP Server, which is something like ' Welcome
to...'

Actually I want the browser to display my own homepage instead of that
default page after I type in the server's IP address.

What should I do?
Or is there any website that I can refer to, which teaches me how to run a
web application?

In fact, I have already developed a web application using VAJ but I don't
know how to run it.

Thank you.


Adrian Blidarus

unread,
Mar 12, 2001, 8:18:16 AM3/12/01
to
You should modify the httpd.conf file or use the Administration server for
IBM HTTP Server to which you can connect from the ... Home Page of the IBM
HTTP Server.


"ngiik yan" <hii...@samsung.co.kr> wrote in message
news:98ht36$12om$1...@news.software.ibm.com...

Niranjan Soni

unread,
Mar 12, 2001, 8:48:30 AM3/12/01
to
In httpd.conf file in IBM HTTP Server's conf directory, there is a property
named "DirectoryIndex" which by default points to the index.html in htdocs
folder. If u want to change the default page then change this property to
point to ur HTML file.

Thanks
Niranjan Soni
Chief Architect
Techfactory Asia

"ngiik yan" <hii...@samsung.co.kr> wrote in message
news:98ht36$12om$1...@news.software.ibm.com...

ngiik yan

unread,
Mar 13, 2001, 5:16:42 AM3/13/01
to
I have tried to modify the <httpd.conf> but it does not work. It will still
point to its default page regardless what html name I gave. And it's seemed
that the conf file is not used at all because when I renamed the file
itself, the default page will be displayed!

I know that I can just put my whole homepage folder into htdocs and replace
its index.html with my file. This is more straight forward but if possible I
want to avoid this method.

Pls advise.
Niranjan Soni <ns...@techfactory.com> wrote in message
news:98ik1t$kr6$1...@news.software.ibm.com...

Mike Haney

unread,
Mar 13, 2001, 4:30:05 PM3/13/01
to
We typically put the static part of our website (static HTML pages, images,
style sheets) under htdocs. These pages at some point link to the webapp
running under websphere. If your app does not lend itself well to this
method, you can always make the index.html page in htdocs redirect to your
webapp.

You can do this using a meta tag or javascript. I prefer to use javascript,
like this:

<HTML>
<BODY onLoad="document.theform.submit();">
<FORM name="theform" method="POST"
action="www.myserver.com/mywebapp/servlet/EntryServlet">
<p>Starting web application...</p>
</FORM>
</BODY>
</HTML>


"ngiik yan" <hii...@samsung.co.kr> wrote in message

news:98jur2$bnm$1...@news.software.ibm.com...

ngiik yan

unread,
Mar 14, 2001, 11:57:44 AM3/14/01
to
This problem is solved.
The changes to the httpd.conf are activated on the next day.
I don't know why but in my opinion:
1. the WTE must be stopped and started again instead of restarting it.
2. if still cannot, reboot the machine.

I can't think other explanation besides the above.
Anyway, thanks for all the help.

Mike Haney <mha...@NOoneSPAMshield.com> wrote in message
news:98m31l$d4k$1...@news.software.ibm.com...

0 new messages