https
この記事に従って、ランプサーバーで有効にしようとしています
http://inchoo.net/tools-frameworks/how-to-setup-http-protocol-with-ssl-on-lamp-environment/
しかし、「https://mywebsite.com」にアクセスしようとすると、htdocs フォルダーのディレクトリ リストが表示されます。
仮想ホスト構成
<Virtualhost mysite.com:443>
DocumentRoot /opt/lampp/htdocs/myfolder/
ServerName mysite.com:443
ErrorLog /opt/lampp/logs/error_log
TransferLog /opt/lampp/logs/access_log
SetEnv APPLICATION_ENV development
SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile /opt/lampp/etc/ssl.crt/mysite.com.crt
SSLCertificateKeyFile /opt/lampp/etc/ssl.key/mysite.com.key
<filesmatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</filesmatch>
<directory "/opt/lampp/htdocs/myfolder">
SSLOptions +StdEnvVars
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</directory>
BrowserMatch ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
CustomLog /opt/lampp/logs/ssl_request_log \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</Virtualhost>
ありがとう