나는이 구성을 가지고 있습니다
<VirtualHost *:443>
ServerName myserver.fr
SSLEngine on
ProxyRequests On
ProxyPreserveHost On
DocumentRoot /srv/apache2/htdocs/
Alias /subdomain/ /srv/apache2/htdocs/subdomain/
...
</VirtualHost>
내가 요청할 때https://myserver.fr/subdomainApache 오류가 발생합니다.
File does not exist: /srv/apache2/htdocs/app, referer:https://myserver.fr/subdomain
여기서 "app"은 /srv/apache2/htdocs/subdomain/의 하위 폴더입니다.
유용하다면 apachectl -S의 출력은 다음과 같습니다.
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
*:443 is a NameVirtualHost
default server myserver.fr (/srv/apache2/conf/sites-enabled/default-ssl:2)
port 443 namevhost myserver.fr (/srv/apache2/conf/sites-enabled/default-ssl:2)
*:80 is a NameVirtualHost
default server myserver.fr (/srv/apache2/conf/sites-enabled/000-default:1)
port 80 namevhost myserver.fr (/srv/apache2/conf/sites-enabled/000-default:1)
Syntax OK