Is there any way I can convince you that phpmyadmin is a security hole  
waiting to happen? If not, then you might just be best off setting up  
a subdomain for it.

Hunted and pecked from my iPhone

On Aug 12, 2009, at 10:38 AM, Alpha Blue <[email protected] 
 > wrote:

>
> How do I setup a route to a virtual path in rails for phpmyadmin, if I
> want to use that to look over my database?
>
> Say the path is at the following:
>
> myvirtualpath/admin/phpmyadmin/
>
> If I went to ..
>
> http://mysite.com/myvirtualpath/admin/phpmyadmin/
>
> phpmyadmin will show up fine..
>
> With rails if I do it, I will get a routing error..
>
> I'm not sure how to add virtual paths in routes.rb with say  
> map.connect
> etc.
>
> Any advice would be appreciated.
>
> thanks.
> -- 
> Posted via http://www.ruby-forum.com/.
>
> >

--~--~---------~--~----~------------~-------~--~----~
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