View Single Post
  #4  
Old 6th March 2008, 09:19
thecaoticone thecaoticone is offline
Member
 
Join Date: Nov 2007
Posts: 89
Thanks: 1
Thanked 18 Times in 16 Posts
Default

If you are using a straight Apache configuration ( not ISP ) you can add a rewrite in your site conf file.

If you are using the default conf, add this to your /etc/apache2/sites-available/default

<IfModule mod_rewrite.c>
<IfModule mod_ssl.c>
<Location /phpmyadmin>
RewriteEngine on
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://mysite.com/phpmyadmin [R]
</Location>
</IfModule>
</IfModule>


Then restart Apache.

Last edited by thecaoticone; 6th March 2008 at 09:22.
Reply With Quote