I have a CGI app, UMN Mapserver, run by apache on my WebFaction account. To test my build and install, the Static App is tied to a Website that is publicly visible. All good! Moving forward I would like to run this CGI privately, other apps in my WF install would query it, but it should not be externally visible. I do this on my elsewhere by serving Mapserver on an off-port and firewalling it. Is this possible to configure on WebFaction? Or is there a way that makes more sense on WebFaction? Thanks! asked 11 Feb '15, 03:12 bill |
You could use mod_rewrite to check answered 11 Feb '15, 14:20 seanf This worked, thank you:
Before reading this, I tried using Limit which is preferable for maintaining a whitelist, but could not successfully specify localhost or the local interface. It looked like:
My external IP address would be allowed, but not the local ipv6 address shown as my test wget client, nor 127.0.0.1, nor ::1, would hit for Allow. The syntax is fine, an "Allow all" would serve the local test client. Any idea why, does this have to do with the WF config?
(11 Feb '15, 20:11)
bill
|
You would have to build an apache server to do this without it being public. Or call the script in shell. answered 11 Feb '15, 05:52 johns |