View Single Post
Old 2nd November 2009, 20:47
skara skara is offline
Junior Member
Join Date: Apr 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts

May i grab it from deep of the grounds ? (Just in case i ever forget it myself )

Debian/Ubuntu-release of PhpMyAdmin is configured in /etc/apache2/conf.d/phpmyadmin.conf

Following forces my clients to use https vHost-independent
<IfModule mod_rewrite.c>
<IfModule mod_ssl.c>
<Location /phpmyadmin>
RewriteEngine on
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}/phpmyadmin [R]

Alias /phpmyadmin /usr/share/phpmyadmin
... (rest stays the same)
Hope it helps anybody else too

Reply With Quote