如何使用为 Mac OS 扩展(日志记录)格式化的 SDCard 将子目录映射为虚拟主机,并有权更正它不会收到禁止 304 消息。
例子:
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "/Volumes/SDCARD/sd_projects/gutten-news/guten-news-web"
ServerName local.gutennews.com.br
ServerAlias www.local.gutennews.local
ErrorLog "logs/dummy-gutennews-error.log"
CustomLog "logs/dummy-gutennews-access.log" common
php_flag always_populate_raw_post_data -1
setEnv APPLICATION_ENV "development"
<Directory "/Volumes/SDCARD/sd_projects/gutten-news/guten-news-web">
Options Indexes FollowSymLinks Includes execCGI
AllowOverride All
Satisfy Any
</Directory>
</VirtualHost>