Hi guys, I want my rails app to be accessible from certain IPs only. I tried to archieve this the way I was used to it in the PHP-world (in apache vhost-setup):
<VirtualHost *:80> ServerName my.domain.com DocumentRoot /home/todo/public RailsEnv production <Directory /> deny from all #allow from 1.1.1.1 #ip1 #allow from 2.2.2.2 #ip2 </Directory> </VirtualHost> All static files (css, js and so on) are prohibited for unknown IP as they should, but my.domain.com/ is not! Rails just servers the HTML to all visitors. What can I do to restrict my site certain IPs? Thanks! -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Deploying Rails" group. To post to this group, send email to rubyonrails-deployment@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-deployment?hl=en -~----------~----~----~----~------~----~------~--~---