Forum Moderators: phranque

Message Too Old, No Replies

Editing the httpd.conf file (newbie)

         

pjewett

1:07 pm on Sep 23, 2009 (gmt 0)

10+ Year Member



Hi All,

I'm new to Apache as we lost our guy that maintained among other things the 2 we have.

The one I'm working on is a component of our Digital Asset Management System, Artesia.

Our remote office has always had timeout issues due to latency and I'm trying to address them.

What I was attempting to do is increase the default timeout parameters in the httpd.conf file but ultimately found these in the httpd.conf-default file.

My questions are:

Is this -default file an inactive backup or is it live? I see the settings I'm looking for (below) in it and not in the httpd.conf file.

Or do I need to copy/paste these paramters out of -default and into the httpd.conf file? If so where in the body of the file do they belong? Do I need to restart the service after I do this?

Any assistance would be greatly appreciated!

# Timeout: The number of seconds before receives and sends time out.
#
Timeout 1200

#
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to "Off" to deactivate.
#
KeepAlive On

#
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
#
MaxKeepAliveRequests 100

#
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
#
KeepAliveTimeout 100

choster

8:42 pm on Sep 23, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The real configurations are in httpd.conf . As you suspect, httpd.conf-default is a backup of the "factory" settings.

jdMorgan

10:11 pm on Sep 23, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



And the server must be restarted to apply any changes made to httpd.conf.

Oh, and keep a daily/hourly backup of each change you make to your config file(s)... This can save an awful lot of misery if you have a problem or delete the wrong file...

Jim