Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've searched around for a solution but there is not much information to find about the usage of reload with apache. Here is my problem:

Here at work we have a control panel for our non-technical employees which gives them the ability to grant access by IP to specific sub-domains on the server. Each sub-domain has its own virtualhost within one config file called "customers.conf". The "customers.conf" file is rebuilt, checked to make sure it's valid, and then apache is issued the "reload" command for the changes to take effect. I understand "reload" is nothing but a graceful restart, but I still expect the newly added IP address to be granted access by now. Unfortunately, this does not work. The only way I can get this to work is by issuing a "restart" rather than a "reload".

Can someone point to the right direction or explain to me why this isn't working as expected?

This is how we are enforcing IP only access in the virtualhost:

 <Directory />
    AllowOverride All
    Options FollowSymLinks
    Order allow,deny
    Allow from 0.0.0.0
 </Directory>

Thanks!

share|improve this question
    
The reason we are using reload rather than restart is to avoid corrupting any data transmission from an active request. –  Meen Jul 25 '13 at 19:13
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.