I have a site https://example.com
to ensure that all users go to the https:// I set up a redirect with APACHE (on the default.conf) as followed:
<VirtualHost *:80>
ServerName example.com
Redirect permanent / https://example.com
# DocumentRoot /var/www/example.com/
<VirtualHost *:80>
My issue is when I try to access my phpmyadmin example.net/phpmyadmin
I redirect to https://example.net/phpmyadmin
and the page cannot be displayed.
(It is obviously working if I remove the Redirect).
How can I get avoid the redirect only for my phpmyadmin?
Any idea?