How to reload apache configuration for a site without restarting apache?

前端 未结 5 1158
-上瘾入骨i
-上瘾入骨i 2021-01-29 22:20

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? I

5条回答
  •  执笔经年
    2021-01-29 22:41

    If you are using Ubuntu server, you can use systemctl

    systemctl reload apache2
    

提交回复
热议问题