mbuyukoglu Posted November 11, 2019 Share Posted November 11, 2019 Merhaba, Proje içerisinde SSL aktif edildiğinde http üzerinden gelen istekleri aşağıdaki kod örnekleri ile https tarafına yönlendirmeye çalıştığımızda Bu sayfa çalışmıyor 192.168.0.222 hiç veri göndermedi. ERR_EMPTY_RESPONSE şeklinde hata dönüyor. unigui versiyon 1.90.0.1513 ServerModule-> CustomMeta <script language="JavaScript"> function redirectHttpToHttps() { var loc = window.location.href+''; if (loc.indexOf('http://')==0){ window.location.href = loc.replace('http://','https://'); } } redirectHttpToHttps(); </script> veya loginForm-> Script if (window.location.protocol === 'http:') { window.location.href = 'https:' + window.location.href.slice(5); }; Quote Link to comment Share on other sites More sharing options...
pro_imaj Posted November 11, 2019 Share Posted November 11, 2019 Merhaba, DLL kullanıyorsanız ayarları bu işlemi yapmadan IIS üzerinden kolayca çözebilirsiniz. İyi çalışmalar. Quote Link to comment Share on other sites More sharing options...
mbuyukoglu Posted November 11, 2019 Author Share Posted November 11, 2019 DLL kullanmadığımız için bu yoldayız zaten. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 11, 2019 Share Posted November 11, 2019 3 hours ago, mbuyukoglu said: unigui versiyon 1.90.0.1513 Merhaba, Please adjust your forum email address: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.