Loading ...
Sorry, an error occurred while loading the content.

7529Re: [id-ruby] Tanya soal redirect http ke https (SSL) dengan XAMPP

Expand Messages
  • fred251184
    Aug 24, 2014
    • 0 Attachment
      Mas, saat ini kalo url-nya https://aplikasiku muncul warning PROXY ERROR,
      tapi kalo urlnya https://aplikasiku:5000 bisa jalan. Ini salah setting dimana yah?
      Berikut ini setting di httpd-vhosts.conf :
      <VirtualHost *:80>
        ServerName aplikasiku
        ProxyPass / http://localhost:5000/
        ProxyPassReverse / http://localhost:5000/
        <Directory "c:/Sites/aplikasiku/">
          Options ExecCGI FollowSymLinks
          AllowOverride all
          Allow from all
          Order allow,deny
          AddHandler cgi-script .cgi
          AddHandler fastcgi-script .fcgi
        </Directory>
      </VirtualHost>
      <VirtualHost *:443>
        ServerName aplikasiku
        ServerAlias aplikasiku
       
        SSLEngine On
        SSLCertificateFile    conf/ssl.crt/aplikasi.crt
        SSLCertificateKeyFile conf/ssl.key/aplikasi.key
       
        ProxyRequests     Off
        ProxyPass         /  http://localhost:5000/
        ProxyPassReverse  /  http://localhost:5000/
        <Proxy http://localhost:5000/*>
          Order allow,deny
          Allow from all
        </Proxy>
        ProxyPreserveHost on
      </VirtualHost>

      Mohon pencerahannya.
    • Show all 8 messages in this topic