wood burning stoves 2.0*
The moose likes Servlets and the fly likes Apache Configuration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Apache Configuration" Watch "Apache Configuration" New topic
Author

Apache Configuration

Tanveer Mehmood
Ranch Hand

Joined: Feb 23, 2001
Posts: 51
Hi buddies,
I installed apache, edited httpd.conf with servername "localhost" but when i run this "apache.exe" it gives me error.
COMMAND:
c:\proram files\apache group\apache\apache
ERROR:
httpd: cannot determine to server local host name
Use sername to set it explicitly
An earliest reply required please.
Tanveer
Ganesh Anekar
Ranch Hand

Joined: May 13, 2001
Posts: 36
Hi
As u r using windows 98 check that u have installed network card in u r system...if not then install it and set the system name i.e. set name to u r system...
set all paths...APACHE_HOME,ANT_HOME,JAVA_HOME,ORACLE_HOME,TOMCAT_HOME
THEN ..run the server
Its very easy...check it...
Ganesh
Sandeep Jain
Ranch Hand

Joined: Oct 25, 2000
Posts: 124
goto conf directory inside the apache directory
Open the file httpd.conf
Look for some statement give either ur host name or ip address there and revove the
# ServerName somstatement
serverName hostname
restart the apache it will work fine


Try and Try Till u succeed<br /> <br />Sandeep Jain
 
 
subject: Apache Configuration
 
Similar Threads
jsf, eclipse, and tomcat 6.0 problem
runtime ERROR
still cant compile the code
error when i run log file
jsp:include resource not found