If you have apache as your frontend you should setup a https
virtualhost and put this in the vh

  <Location "/phpmyadmin">
    AuthType Basic
    AuthName "Restricted Site"
    AuthUserFile /usr/local/apache2/conf/passwd/passwords
    Require user username
    Order allow,deny
    Satisfy Any
  </Location>

  alias /phpmyadmin /var/www/phpmyadmin
  <Directory "/var/www/phpmyadmin">
    Options FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
  </Directory>

this will protect phpadmin and also encrypt any traffic to and from
phpadmin. If you want to open phpadmin from your rails application
just use  link_to "phpadmin", "https://yourserver/phpmyadmin";


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to