Limit access to files in cgi-bin


I have a configuration file located at (example) that can be accessed by anyone if
know the address/file location. Is there a way to limit access to this
location from outside the server? I mean so no one can access it if they
to that url?

I tried with rewrite but my main server must communicate with this file
located in cgi-bin and when rewrite is enabled the main server can’t
communicate with that file either. Please advise.

Thank you!

On 1 December 2012 14:26, [email protected] [email protected] wrote:

communicate with that file either. Please advise.
You could look at or, if that doesn’t
quite fit the bill,


Jonathan M. // Oxford, London, UK

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs