Getting Started with Apache 1.3 Page 9
So please, please, please replace the default
index.html* file (or files) with something of your own,
perhaps saying something like "Welcome to Joe's Web Pages. They're
off getting dusted and cleaned right now, but they'll be back soon.
Please come back in a couple of days!" Or something like that.
One way to do this, of course, is to modify the
file itself, since this is the one Apache will display by default.
Another way is to create another directory somewhere, such as
C:\Progam Files\Apache Group\Apache\realdocs,
if you're using Windows), put your own content files in it, and
DocumentRoot line in your
file to point to it. You'll need to change all occurences in the config file
of the old
htdocs directory to your new
one, and restart the server after saving the file, but this is probably the
If you didn't get any errors when you started Apache, hopefully
that means it's running. Try it out; use a browser to access the
default page: <URL:http://localhost/>.
You should see a page declaiming that the installation was a
success. If you don't, make a note of what you see instead, and
the contents of the error log under the ServerRoot location, in
logs subdirectory. It's called '
on Unix, but '
error.log' on Windows. With that information,
go search the
or other resources listed under
Going Further. If all else fails, you can
send me email, but please
try to find a ready-made answer elsewhere first!
Reloading After Changes
Whevever you make changes to the server configuration files (such as
httpd.conf, they won't take effect until the server
is restarted and reloaded. On Unix, the command to do this is:
# /usr/local/web/apache/bin/apachectl graceful
On Windows, the equivalent command (run in a DOS window) is:C:\Program Files\Apache Group\APACHE>apache -k restart
Once you've got your Apache Web server up and running, the first hurdle has been surmounted. Now you can move on to exploring its capabilities and features. Here are some pointers to resources for further investigation:
IT Solutions Builder TOP IT RESOURCES TO MOVE YOUR BUSINESS FORWARD
Which topic are you interested in?
What is your company size?
What is your job title?
What is your job function?
Searching our resource database to find your matches...