每当我创建一个新的web项目时,我都在编写一个自定义别名函数来为我创建vhost。在我的函数中,我想将一个全新的虚拟主机粘贴到我的httpd-vhosts.conf文件中。我首先要求输入域名和文件夹名,如下所示read -p 'Please enterthe folder name for your new site: ' folder;
然后在我的函数中,我像这样写到我的<e
我在服务器上重新启动httpd服务时遇到问题。当我尝试service httpd restart时,它会给我一个错误:AH00548: NameVirtualHosthas no effect and will be removed in the next release /usr/local/apache/conf/httpd.conf:455
当我尝试重新