Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Apache HTTP| display custome page instead of the default page  RSS feed

Prince Manchanda
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I want to understand how to configure Apache HTTP to display a 'custom page' when Apache is invoked directly. Apache displays its default page when invoked directly. This poses are security risk since it reveals web server's identity. This problem is bit more than just replacing or modifying the index.html. The details of the same are as under:

We have Apache Web Server in front of JBoss. My application is accessed using the following URL:

This URL request would serve the log on page from my application running on JBoss.

When i hit the , Apache's default page is served that is index.html. We haven't tweaked this default configuration of Apache.

My question is that how can I configure apache to serve when I invoke .

One way is that i use META REFRESH tag inside the index.html (or a custom html) and use it to for redirection. I am looking for an alternative to this solution.

Thanks and Regards
Prince Manchanda
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!