skip to Main Content

Apache2 redirect https://www to https://non-www

I want to redirect https://www.mydom.com to http://mydom.com I have an mydom.conf into apache2/sites-available/ mydom.conf: #HTTP(www/non-www) -> HTTPS(non-www) <VirtualHost *:80> ServerName mydom.com ServerAlias www.mydom.com Redirect permanent / https://mydom.com/ </VirtualHost> #ACTIVATE HTTPS AND REVERSE PROXY -> test-1.0.0 <VirtualHost _default_:443> SSLEngine On SSLCertificateFile…

VIEW QUESTION

Apache not working after macOS Mojave update

Ok, after update macOS from High Sierra to Mojave, Apache with PHP stop working properly, so I did everything as is said in this guide - https://getgrav.org/blog/macos-mojave-apache-multiple-php-versions but after that, still apache not working properly, sometimes working, sometimes not, and…

VIEW QUESTION
Back To Top
Search