How to make Apache skip directory search on restart?
Example: sometimes I have a test site and remove the folders, but forget to issue a a2dissite command for that URL. Then, the next time I issue a "service apache2 reload" or "service apache2 restart" none of the other sites load. A check of the logs indicates Apache can't locate the "logs" folder in the test site I deleted.
So, is there any way to force Apache to start up regardless of whether it can find a site's folders?
Thanks!
4 Replies
Seems like the "cure" is more time consuming then the "disease".
BTW, that's why you don't dev (or test) on a production box.
YMMV
Edit: This scenario would let the main apache instance start even when the test instance isn't running.