문제

I am using lighttpd for hosting a php application. Is there is any way to restrict accessing the application from out side United States. I just done a quick research but didn't get a better solution. Please help.

도움이 되었습니까?

해결책

Use this module:

http://redmine.lighttpd.net/projects/1/wiki/Docs_ModGeoip (php example included).

Then return an error page if GEOIP_COUNTRY_CODE is not what you want.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top