SSL不适用于某些path

这是我的configuration为ssl

<VirtualHost *:443> DocumentRoot /path/todirectory/ SSLEngine on SSLCertificateFile /etc/httpd/ssl/server.crt SSLCertificateKeyFile /etc/httpd/ssl/server.key <Directory "/path/todirectory/"> Options Indexes SymLinksIfOwnerMatch FollowSymLinks AllowOverride All Order deny,allow Allow from all </Directory> <Location /> AuthType shibboleth require shibboleth </Location> </VirtualHost> 

https:// servername工作,但https:// servername /path/ todirectory不起作用。 我得到404可能是什么原因?

/path/todirectory/是文件驻留在服务器上的物理path。

因此, https://servername/映射到/path/todirectory/ (您的DocumentRoot )中的索引,而https://servername/path/todirectory将映射到物理目录/path/todirectory/path/todirectory/ ,可能不存在。

当你请求https://servername/path/todirectory时,你应该加载哪些内容?