Is there a way that I can add an exception to my script that will not redirect me based on my IP or location? I have googled it and haven't come across anything like that. Then I re-paste it back in when i am done looking. I am having to delete the script from my US webpage every time i want to check my US site. The only problem or annoying thing is that i have a hard time checking and testing the US site out myself since I am located in Canada. This is the script I am using in the HEAD of my pages of the US site with Maxmind GeoIP Lite. I have my main website with all products in US$ but then using this redirect, any traffic from Canada is redirecting to a my other mirrored website where all of the products are priced in CND$.
Simply update the service with the name of your custom service and add it to the services specific configuration section with the class value as the custom classname.I am a Canadian Company. Services are stored in the GeoIP's config file config/geoip.php. IPFINDER_API_KEY = YOUR_API_KEY 'service' => 'ipfinder', Custom Service Register at ipfinder.io to get api key and add it into your env file as: Ive tried to sample my IP in different services like IP2Location and MaxMind, all giving me the current location in Finland. IPGEOLOCATION_KEY = YOUR_API_KEY 'service' => 'ipgeolocation', IPFINDER API After you have created the WebServiceClient, you may then call the method corresponding to a specific end point, passing it the IP address you want to look. Register at ipgeolocation.io to get api key and add it into your env file as: MyIP Industrial Psychosis ipMax Furtado & e'Attisip - Message From My Heart (Danny Burn Electro Mix)(by VS) ipDj Joss ip - My Life Muzik (Feat. The database location to used is specified in the config file in the services section under maxminddatabase.
Register for a license key and user ID at 'service' => 'maxmind_api', IPGEOLOCATION API Locate website visitors for free using ipstack - a free, real-time IP address to location JSON API and database service supporting IPv4 and IPv6 lookup. Before using the MaxMind driver, you will need to install the appropriate package via Composer: MaxMind: geoip2/geoip2 2.1 IP-API (default) They offer a free and pro service 'service' > 'ipapi', MaxMind Database. This tool provides you a precision down to 5km on the GPS coordinates (latitude, longitude) and administrative location (continent, country, region, postal code, city) of that IP. Optimization Tip: When using the database option I don't like having the downloaded database in my git repository, so I have my deploy system run the geoip:update during the build process before it's deployed to the servers. In addition to the precise Google Maps geo positioning powered by MaxMind technology, a table synthesises the geo-data gathered for your IP address. Note: The geoip:update command will need to be ran before the package will work. Along with the URL of where to download the database from when running the php artisan geoip:update. The database location to used is specified in the config file in the services section under maxmind_database. How do you know it worked I am on pfBlockerNG-devel 2.2. I just updated, already put my license key and its working.
mcury said in pfBlockerNG MaxMind Registration required to continue to use the GeoIP functionality. They offer a free and pro service 'service' => 'ipapi', MaxMind Database chudak said in pfBlockerNG MaxMind Registration required to continue to use the GeoIP functionality. Before using the MaxMind driver, you will need to install the appropriate package via Composer: