Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
サーバーには証明書(* .crt)が含まれています。そして、2人の異なるユーザーがいます。1つは、サーバー証明書に署名したブラウザー証明書(* .p12)に設定されています。ユーザーはexample.com/aフォルダーに入ります
証明書を持っていないユーザーはexample.com/bに入ります
設定apacheを使用してそれを行う方法は?リダイレクト?
SSLVerifyClient optional SSLOptions +StdEnvVars SSLCACertificateFile path/to/file RewriteEngine on RewriteCond %{SSL_CLIENT_VERIFY} SUCCESS RewriteRule ^/(.*) /a/(.*) [L] RewriteCond %{SSL_CLIENT_VERIFY} FAILED RewriteRule ^/(.*) /b/(.*) [L]