varnco Posted January 6, 2004 Share Posted January 6, 2004 Hello, still starting out, and trying to take small steps. One of the items I want to do is only accept orders for US orders. I would like to prevent certain countries altogether from accessing my site, and have the following code, but I've forgotten where to put it. Do I add it to my current htaccess file? (I'll edit the deny countries/domains once I know where to put this bit of code). Thanks! uthUserFile /dev/null AuthGroupFile /dev/null <Limit GET> order allow,deny allow from all deny from .edu deny from .sy deny from .uk deny from .ca deny from .au deny from .tr deny from .as deny from .th deny from .cz deny from .de deny from .gr deny from .il deny from .ir deny from .iq deny from .za deny from .br deny from .sk deny from .ve deny from .kr deny from .nl deny from .ru deny from .ch deny from .af deny from .al deny from .be deny from .br deny from .eg deny from .de deny from .hk deny from .is deny from .in deny from .id deny from .jp deny from .lr deny from .ly deny from .mx deny from .nz deny from .ni deny from .pk deny from .ro deny from .rw deny from .sg deny from .za deny from .gmx.net deny from .il.us deny from .il deny from megagiga.com deny from netzero.net deny from spaceproxy.com deny from anonymizer.com deny from drikka.net deny from netdirect.net deny from juno.com deny from voyager.net deny from globali.net deny from the-cloak.com </Limit> Link to comment Share on other sites More sharing options...
Guest Posted January 6, 2004 Share Posted January 6, 2004 just remove the countries you do not want to ship to, then they cant order Link to comment Share on other sites More sharing options...
varnco Posted January 20, 2004 Author Share Posted January 20, 2004 I did just that... took about 15 minutes, and a bit laborious task, but I did it. Link to comment Share on other sites More sharing options...
Guest Posted January 20, 2004 Share Posted January 20, 2004 ummmmm, is what mysql connector or phpmyadmin are for . . takes all of maybe 30 seconds Link to comment Share on other sites More sharing options...
varnco Posted February 7, 2004 Author Share Posted February 7, 2004 Yeah, I get a littel freaky when I go in with PHP myadmin... Link to comment Share on other sites More sharing options...
Guest Posted February 7, 2004 Share Posted February 7, 2004 also, in Wiki Documentation if you search on country it shows how to set default country to united states or whatever country you desire Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.