本文章介紹了關(guān)于Linux中Apache 更改創(chuàng)建文件用戶名和用戶組的配置文件。
方法 超級簡單
- #
- # 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 daemon
Group daemon
我們只要把user 和group后面的名字修改成你自己喜歡的就行了,然后重啟你的 apache和重新生成哦。
新聞熱點
疑難解答