Added by Saugat kc over 12 years ago
I am developing a plugin, in which i need to restrict the plugin to be accessed only from LAN only i.e. it should not be accessed from Internet.
I tried using .htaccess file in plugin folder but it did not work. Can anyone suggest me the solution.
I am using Apache Server in Win 7 for redmine hosting.
Have you tried a <Location> directive in your apache config?
If you can't get that to work, an alternative might be to make your own Rack::Middleware.