Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't locate index.html

Status
Not open for further replies.

tronlaba

Programmer
Sep 12, 2003
1
US
Hi all,
I'm a newbie to Apache. I've downloaded a package that includes Apache, mySQL , php, etc in one shot. Seems to have done all right on the install. I say that because the server actually starts. Problem is I can't seem to serve up anything...not even index.html. I type " and I get nothing. I've changed none of the default settings in the httpd.config file. Can someone help me straighten this out?
 
The default is to start apache in a window. If you close the window, apache will stop. If you have the package from firepages, there should be an option to run apache as a service. If not, you may be able to do this with the following command:

apache -k install -n "servicename"

servicename is the name you pick for the service. If you do not use the -n option, then the default "Apache2" will be used. The directory structure for your package is different from a standard installation but you should find a directory with you package name in your root directory. i.e. C:\phpdev\ You should see sub-directories in there for each package such as MySQL, PHP and Apache. There may be two index pages, one will be the apache test page and the other may be a sample webpage called index.php. If you don't have any luck getting this up and running, you may want to look at
 
Try accessing it by your machine name or network ip if your on a network.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top