在httpd.conf最后一行加上了 <VirtualHost 127.0.0.1:80> ServerAdmin cghe DocumentRoot "F:\wenjsong" ServerName 127.0.0.1 DirectoryIndex index.htm index.html index.jsp ErrorLog logs/dummy-host.example.com-error_log CustomLog logs/dummy-host.example.com-access_log common </VirtualHost> 然后apache就启动不了了 是windows
在httpd.conf最后一行加上了 <VirtualHost 127.0.0.1:80>
ServerAdmin cghe
DocumentRoot "F:\wenjsong"
ServerName 127.0.0.1
DirectoryIndex index.htm index.html index.jsp
ErrorLog logs/dummy-host.example.com-error_log
CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost> 然后apache就启动不了了 是windows
引用来自“mengxi”的答案
在httpd.conf最后一行加上了 <VirtualHost 127.0.0.1:80>
ServerAdmin cghe
DocumentRoot "F:\wenjsong"
ServerName 127.0.0.1
DirectoryIndex index.htm index.html index.jsp
ErrorLog logs/dummy-host.example.com-error_log
CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost> 然后apache就启动不了了 是windows
CustomLog "logs/dummy-host.example.com-access_log" common