Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apache stop redirecting to https:// from http:// [closed]

Tags:

apache

ubuntu

I am using Apache with passenger for rails app, when i type http://localhost , it automatically rediects to https://localhost. How can i stop it

Thanks

like image 568
Nasrudeen Avatar asked May 16 '26 10:05

Nasrudeen


1 Answers

For disabling SSL without a command you can manually edit the SSLEngine directive in your ssl configuration file (usually in /etc/apache2/sites-enabled/default-ssl.conf) change:

SSLEngine on

to:

SSLEngine off

restart Apache

sudo service apache2 restart

from: https://httpd.apache.org/docs/2.4/mod/mod_ssl.html

like image 148
mohamed elshazly Avatar answered May 18 '26 06:05

mohamed elshazly



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!