Hi all, I have a DNS name as abc.com When I type in as http://abc.com , it goes to Apaches default page, but instead I want my application Login.jsp page to pop up.. How do I do that( Am using a context as app in my server.xml of tomcat) Am using Apache and TOmcat Thx in advance
Apache is probably showing your local copy of the Apache home page. You need to either reconfigure Apache to point to the home directory you are using, or move your files to the home directory it is pointing to. On Mac OS X, the latter defaults to /Library/WebServer/Documents; where it is on your machine will vary depending on what OS you are running and how you are set up.
It's opening whatever the default file is in the Apache DocumentRoot. To change the default location it looks for files, as root if on a nix system, modify the DocumentRoot line in /etc/httpd/conf/httpd2.conf.
Look for a line that looks like this: DocumentRoot /var/www/html
If you have multiple website running off this server you will have to configure your VirtualHosts file. That's located under /etc/httpd/conf/vhosts/Vhosts.conf on a nix system. If you have only one website (domain name) don't worry about it.
hope this helped, ian
Linux Registered User <a href="http://counter.li.org/" target="_blank" rel="nofollow">#349319</a>