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
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
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
.htaccessstyle files inside your documents folder. This task probably will be easier for you if you read a few things about how redirecting is done in an http server. Then you have a more clear idea of what you are looking for./etc/apache2or/etc/httpdor similar. You are looking for something likeRewriteRule...