如何在不重新启动 apache 的情况下为站点重新加载 apache 配置? [英] How to reload apache configuration for a site without restarting apache?

查看:53
本文介绍了如何在不重新启动 apache 的情况下为站点重新加载 apache 配置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已在 sites-enabled 目录中为我的网站之一编辑了变量 AllowOverride.如何在不重新启动 apache 的情况下重新加载新配置?可能吗?

I have edited the variable AllowOverride for one of my websites in sites-enabled directory. How do I reload the new configuration without restarting apache? Is it possible?

推荐答案

应该可以使用命令

sudo /etc/init.d/apache2 reload

希望能帮到你.

这篇关于如何在不重新启动 apache 的情况下为站点重新加载 apache 配置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆