tengo esta configuracion
<VirtualHost *:443>
ServerName myserver.fr
SSLEngine on
ProxyRequests On
ProxyPreserveHost On
DocumentRoot /srv/apache2/htdocs/
Alias /subdomain/ /srv/apache2/htdocs/subdomain/
...
</VirtualHost>
cuando solicitohttps://miservidor.fr/subdominioRecibo el error de Apache:
File does not exist: /srv/apache2/htdocs/app, referer:https://myserver.fr/subdomain
donde "aplicación" es una subcarpeta de /srv/apache2/htdocs/subdomain/
Si es útil, aquí está el resultado de 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