apache2-启用和禁用站点
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了apache2-启用和禁用站点相关的知识,希望对你有一定的参考价值。
enable and disable sites and modules in apache 2
# enable site sudo a2ensite # disable site sudo a2dissite # enable an apache2 module sudo a2enmod # e.g. a2enmod php4 will create the correct symlinks in mods-enabled to allow the module to be used. In this example it will link both php4.conf and php4.load for the user # disable an apache2 module sudo a2dismod # force reload the server: sudo /etc/init.d/apache2 force-reload
以上是关于apache2-启用和禁用站点的主要内容,如果未能解决你的问题,请参考以下文章