Link to home
Start Free TrialLog in
Avatar of verguillas
verguillasFlag for United States of America

asked on

Configure phpmyadmin under ssl

Hello,

I'm having a problem trying to configure phpmyadmin under ssl, I can see https://mydomain.com/phpmyadmin and also http://mydomain.com/phpadmin, but the problem is that I don't want to use 'http'.

In my virtualhost (/etc/apache/sites-enable/secure1.domain.com) I got
NameVirtualHost 66.180.162.21:443
<VirtualHost *:80>
      ServerName secure1.domain.com
      
      Alias /phpmyadmin /usr/share/phpmyadmin
</VirtualHost>........

And, in /etc/phpmyadmin/apache.conf  I got,
Alias /phpmyadmin /usr/share/phpmyadmin

If I remove or comment that line, it won't work in http or https,
Im using Debian.


How can I fix this and just use https?

Hope somebody can help me
ASKER CERTIFIED SOLUTION
Avatar of mchkorg
mchkorg
Flag of France image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of verguillas

ASKER

Thanks