apache2常用配置
重启:/etc/init.d/apache2 restart 或者 apachectl restart
更改运行apache2运行的用户[文件httpd.conf需要重启]:
<IfModule !mpm_netware_module> # # If you wish httpd to run as a different user or group, you must run # httpd as root initially and it will switch. # # User/Group: The name (or #number) of the user/group to run httpd as. # It is usually good practice to create a dedicated user and group for # running httpd, as with most system services. # User myuser Group mygroup </IfModule>
本文持续更新
转载请注明: 转载自http://jyd.me/
本文链接地址: apache2常用配置
- web.py部署 mod_wsgi and apache
- centos6单网卡配置多ip