[EMAIL PROTECTED] RewriteRule ignored in .htaccess file in Apache 2.2.3

2007-04-24 Thread uxwrstre
Hello, I have a problem: I tried to use RewriteRule in a .htaccess file and it does not work. Its totally ignored by mod_rewrite. And its strange because in the configuration file of Apache it works. And I put in the main configuration file: Options Indexes FollowSymLinks MultiVie

[EMAIL PROTECTED] Limit download of data by IP address?

2007-02-21 Thread uxwrstre
Hello, is there a possibility to limit the download of IP addresses per day? For example that an IP address could not download more than 1 Gbyte per day of the apache server? Is there somewhere a module doing that? My problem is that my server gets all the time D.o.S. attacks, the attacker trie

Re: [EMAIL PROTECTED] Mysterious \"Premature end of script headers\" error

2006-12-05 Thread uxwrstre
On Tuesday 05 December 2006 08:38, Sean Conner wrote: >   One trick I've done under Unix, debugging CGI programs in C is to add the > following to the CGI program: > ... Thanks, this is a very good idea! I suppose that you must also set somewhere a timeout that the cgi-bin program get not killed

Re: [EMAIL PROTECTED] Mysterious \"Premature end of script headers\" error

2006-12-04 Thread uxwrstre
On Friday 01 December 2006 14:05, uxwrstre wrote: > ... > shows the following: [Fri Dec 1 13:33:43 2006] [error] [client > 134.171.16.75] Premature end of script headers: > /home/web/archive/docs/bin/http-goto Hello everybody, I found out the problem! The problem was that the CGI-B

Re: [EMAIL PROTECTED] Mysterious \"Premature end of script headers\" error

2006-12-04 Thread uxwrstre
On Monday 04 December 2006 11:33, Boyle Owen wrote: > Try replacing the "Location" with the more usual; > > "Content-type: text/html \n\n" > > NB - two returns after the header text > > Then some basic content, eg, "it works!" > > what happens? > > If it still gives problems, you need to look at s

Re: [EMAIL PROTECTED] Mysterious \"Premature end of script headers\" error

2006-12-04 Thread uxwrstre
On Friday 01 December 2006 14:15, Robert Fox wrote: > What is the script written in? Can you run the script from the command > line? > > Usually, this means that the script is not sending out a completely formed > HTTP header, which can happen for a variety of reasons. The script is written in C.

Re: [EMAIL PROTECTED] Mysterious \"Premature end of script headers\" error

2006-12-01 Thread uxwrstre
On Friday 01 December 2006 14:10, Boyle Owen wrote: > > -Original Message- > > From: uxwrstre [mailto:[EMAIL PROTECTED] > > Sent: Friday, December 01, 2006 2:06 PM > > To: users@httpd.apache.org > > Subject: [EMAIL PROTECTED] Mysterious \"Prematur

[EMAIL PROTECTED] Mysterious \"Premature end of script headers\" error

2006-12-01 Thread uxwrstre
Hello, I\'m using Apache 1.3.37 on Solaris 8 (SPARC architecture). I have a simple CGI-BIN script which worked before and printed out the following: acwebint 13:57 archive/docs/bin : ./http-goto Location: http://acwebint/DICB acwebint 13:57 archive/docs/bin : I get an internal error 500 message