我使用动态VirtualHosts作为我运行的托管服务。目前,它只允许静态站点,但是我正在开发一个支持PHP的新版本。这显然暴露了一些安全问题。
目前,网站存储在/var/www/domains/{{domain.com}}中,并使用
<VirtualHost *:80>
# this log format can be split per-virtual-host based on the first field
# using the split-logfile utility.
CustomLog /var/log/apache2/access_log