HTTP and HTTPS related laragon settings
-
I have enabled Apache's SSL Port and PHPMyAdmin is installed but while clicking Databse it redirects to http://localhost/phpmyadmin/index.php and not lauched HTTPS phpmyadmin page.
Additionally, you can see Quick app creating sandbox.test and pretty URL is missing HTTPS.
Also found all the htdocs document root site are also launched without https.
Is there any settings available for launching theme in HTTPS environment or HTTP environment. Also can phpmyadmin link be mapped to specific domain.
-
- Laragon always uses http and there is no setting like that for now.
- We can put phpMyAdmin to Document Root and take advantage of the Auto VirtualHost feature.
-
If setting is introduced then it will be awesome
-
In /laragon/etc/apps/phpMyAdmin/ I create .htaccess file and inside I put :
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]Now the link open up in https. Hope this help someone.
Cheers.
-
@rivman Perfect solution. It worked very well. Thank you.
-
Hi,
i will help you out in this, just ping me when you online there will talk with you there