如何用localhost虚拟主机configurationapache服务器
我是Apache的新手。 我正在编辑httpd.config将虚拟主机指向特定的文件系统位置。 这是我正在尝试的: 127.0.0.1 DocumentRoot "/Users/MyUser/Documents/StoreFront" Alias StoreFront /Users/MyUser/Documents/StoreFront <Directory /Users/MyUser/Documents/StoreFront> Options FollowSymLinks AllowOverride None Order deny,allow Deny from all </Directory> 进行这些更改后,我无法重新启动服务器。 我得到以下错误: /usr/sbin/apachectl: line 82: ulimit: open files: cannot modify limit: Invalid argument Syntax error on line 161 of /private/etc/apache2/httpd.conf: Invalid command '127.0.0.1', perhaps misspelled or defined by a module not included in the […]