我的/ var文件夹具有以下结构:
/var
/www
v1/
releases/
2017061/
public/
index.php
2017062/
public/
index.php
...
当我在浏览器中打开以下网址时,我得到500。 http://myserver.com/v1/releases/2017061/public/
这是我的apache配置文件:
<VirtualHost *:80>
ServerAdmin me@mydomain.com
DocumentRoot /var/www
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order deny,allow
Allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>