我想知道是否可以在 Apache 的虚拟主机上创建一个带有日志的别名?
这是我到目前为止所拥有的:
<VirtualHost www.mycompany.com>
ServerName www.mycompany.com
DirectoryIndex Company_Home.html
ServerAdmin siasagenbag@mycompany.com
DocumentRoot C:/Project/Sites/Company/Main/htdocs
ErrorLog C:/Project/Sites/Company/Main/logs/Error_log.log
TransferLog C:/Project/Sites/Company/Main/logs/Access_log.log
Alias /public C:/Project/Sites/Company/Sub/Public/htdocs/Public.html
Alias /stage C:/Project/Sites/Company/Sub/Stage/htdocs/Stage.html
Alias /development C:/Project/Sites/Company/Sub/Development/htdocs/Development.html
我想在所有 3 个别名上创建一个访问和错误日志。