0
나는 htaccess로이 규칙을 사용할 수 있습니다htaccess로와 SSL 프록시는 나의 새로운 호스트가 내 오랜 호스트에, 프록시 SSL을 사용
#old host
Options +FollowSymLinks
RewriteEngine On
RewriteBase /folder
SSLOptions +StrictRequire
SSLRequireSSL
SSLRequire %{HTTP_HOST} eq "www.website.eu"
ErrorDocument 403 https://www.website.eu/folder
을하지만이 노력이 SSL 프록시 내 새로운 호스트에서 작동하지 않습니다 다음 행운을 빕니다 :
#new host
Options +FollowSymLinks
RewriteEngine On
RewriteBase /folder
RewriteCond %{HTTP:X-SSLproxy} !Yes
ErrorDocument 403 https://www.website.eu/folder
어떻게하면됩니까?
감사합니다. 이 대신 작성한 ErrorDocument 라인의
주제에서 벗어남. [FAQ] (http://stackoverflow.com/faq)를 읽어보십시오. –