[EMAIL PROTECTED] How can I block International users?

2008-01-13 Thread Shaun T. Erickson
My site has too much traffic, according to my hosting provider. Is there any easy way to block all International (non-USA) IP addresses via an .htaccess file? -- -ste - The official User-To-User support forum of the

[EMAIL PROTECTED] Struggling with Apache 2.0.54 mod_rewrite

2007-10-07 Thread Shaun T. Erickson
I have been scratching my head over this for hours ... I'm trying accomplish this: If the UserAgent is not ABCD, and the request is for either /dir1/ or /dir1-test/ then it should be rewritten to /dir1/info/ The idea is that only UAs of ABCD should get served the index file in /dir1/ or

Re: [EMAIL PROTECTED] replyRe: [EMAIL PROTECTED] Struggling with Apache 2.0.54 mod_rewrite

2007-10-07 Thread Shaun T. Erickson
On 10/7/07, ASHOK KOPARDAY [EMAIL PROTECTED] wrote: I am not able to help you. Please post it in the group. I did. -- -ste - The official User-To-User support forum of the Apache HTTP Server Project. See

[EMAIL PROTECTED] Re: Struggling with Apache 2.0.54 mod_rewrite

2007-10-07 Thread Shaun T. Erickson
On 10/7/07, Shaun T. Erickson [EMAIL PROTECTED] wrote: I have been scratching my head over this for hours ... I'm trying accomplish this: If the UserAgent is not ABCD, and the request is for either /dir1/ or /dir1-test/ then it should be rewritten to /dir1/info/ The idea is that only UAs

Re: [EMAIL PROTECTED] charset issues

2006-11-07 Thread Shaun T. Erickson
On 11/6/06, Joshua Slive [EMAIL PROTECTED] wrote: But really, you should triple-check that you are editing the right config file and that you got all occurrences of AddDefaultCharset, because this problem has been reported here many times before, and that has always been the cause. Well, I

Re: [EMAIL PROTECTED] charset issues

2006-11-07 Thread Shaun T. Erickson
On 11/7/06, Boyle Owen [EMAIL PROTECTED] wrote: This looks like you're stop/starting the wrong server (a reboot obviously stop/starts everything). I would guess you are editing the correct config file but restarting a different server. It turns out that I did comment it out in the right

[EMAIL PROTECTED] charset issues

2006-11-06 Thread Shaun T. Erickson
I moved a user's site from an apache 1.3.27 server to and apache 2.0.52 server. Now all of his (many) pages display incorrectly. It seems they all specify: meta http-equiv=Content-Type content=text/html; charset=windows-1252 meta http-equiv=Content-Language content=en-us meta name=GENERATOR

Re: [EMAIL PROTECTED] charset issues

2006-11-06 Thread Shaun T. Erickson
On 11/6/06, Joshua Slive [EMAIL PROTECTED] wrote: Look through httpd.conf for the AddDefaultCharset directive. Commenting it out will probably fix the problem. I tried that and it had no effect. I notice that in httpd.conf, it seems to have some knowledge of windows-1251, but not windows-1252

Re: [EMAIL PROTECTED] charset issues

2006-11-06 Thread Shaun T. Erickson
On 11/6/06, Joshua Slive [EMAIL PROTECTED] wrote: Did you restart the server? I still give 90% odds that this is the problem. Yes, I restarted it. :) What does the server send in the HTTP response headers? The meta stuff in the html headers is completely ignored if there is a charset