Solved

Apache conf change without restart

Posted on 2007-11-25
4
846 Views
Last Modified: 2012-06-21
On EE i read couple of post which says we do have to restart apache to take changes in effect done in conf file. is it really true?

I mean, then how does the people who provide hosted solution manages?
I am sure they wont be restarting to add new configuration for every new user.

If there is a workaround then please tell me. Also is there any default time where on every that amount of time apache will re read the conf file.
0
Comment
Question by:greenhacks
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 43

Expert Comment

by:ravenpl
ID: 20345369
Changes introduced to .htaccess do not require apache restart.
Changes in httpd.conf causes need for apache restart. But note, that You can You can restart apache in graceful way, so currently processed requests are not dropped, but finished with old config.
0
 
LVL 16

Author Comment

by:greenhacks
ID: 20345393
so does it mean, that when restrarting gracefully, it will wait for all connection to finish.
Also in that period will it accept new connections? and if not then what will be dispalyed on the client browser (404?).
0
 
LVL 43

Accepted Solution

by:
ravenpl earned 400 total points
ID: 20345416
0
 
LVL 16

Author Closing Comment

by:greenhacks
ID: 31410843
thanks for your quick help
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question