View Single Post
  #9  
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
Lightbulb

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
Quote:
<IfModule mod_rewrite.c>
<IfModule mod_ssl.c>
<Location /phpmyadmin>
RewriteEngine on
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}/phpmyadmin [R]
</Location>
</IfModule>
</IfModule>

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

greetz
skara
Reply With Quote