I am using apache mod rewrie to redirect http to https but now cannot connect to localhost/phpmyadmin
- by user1787331
here is my /etc/apache2/sites-enabled/000-default
<VirtualHost *:80>
ServerAdmin admin@whereever.com
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://mysite.com
DocumentRoot /var/www/http
<Directory />
Options None
AllowOverride None
</Directory>
<Directory /var/www/http>
Options -Indexes…