Re: [users@httpd] Problems with cgi scripts and Apache's log.

2012-03-01 Thread Antonio Fernández Pérez
gt; Thanks, > Anam > > -- > *From:* Anam Ali Khan > *To:* "users@httpd.apache.org" > *Sent:* Friday, 2 March 2012, 0:27 > > *Subject:* Re: [users@httpd] Problems with cgi scripts and Apache's log. > > You can try following co

Re: [users@httpd] Problems with cgi scripts and Apache's log.

2012-03-01 Thread Anam Ali Khan
y, 2 March 2012, 0:27 Subject: Re: [users@httpd] Problems with cgi scripts and Apache's log. You can try following configuration in Apache virtual host container. Order deny,allow Deny from all SetEnvIfNoCase Request_URI "^[/]cgi-bin[/](*)\.dll)$" dontlog CustomLog/var/log/http

Re: [users@httpd] Problems with cgi scripts and Apache's log.

2012-03-01 Thread Anam Ali Khan
n and next directives will not logged those requests in Apache logs. Regards, Anam From: Antonio Fernández Pérez To: users@httpd.apache.org Sent: Thursday, 1 March 2012, 22:02 Subject: Re: [users@httpd] Problems with cgi scripts and Apache's log. Thanks

Re: [users@httpd] Problems with cgi scripts and Apache's log.

2012-03-01 Thread Antonio Fernández Pérez
Thanks for all answers. I had some doubts about this. I think that is interesting log all data (accesses or errors). I 'm afraid these logs are growing a lot, I don't know if this is bad. I should to define some directives with my partners and we should to decide what to do with this. Thanks for

Re: [users@httpd] Problems with cgi scripts and Apache's log.

2012-03-01 Thread Jim Jagielski
Which do you want: to stop the logfiles from growing or deny the requests? Or both? On Mar 1, 2012, at 11:40 AM, Antonio Fernández Pérez wrote: > Hi again, > > My apologies for these messages. Now, I have checked it and is growing the > access log file. How can I do to deny these requests? I'

Re: [users@httpd] Problems with cgi scripts and Apache's log.

2012-03-01 Thread Tom Evans
2012/3/1 Antonio Fernández Pérez > Hi again, > > My apologies for these messages. Now, I have checked it and is growing the > access log file. How can I do to deny these requests? I'm trying to > configure Apache to deny all requests that tries to execute .dll files ind > cgi-bin directory. Any i

Re: [users@httpd] Problems with cgi scripts and Apache's log.

2012-03-01 Thread Mark Montague
On March 1, 2012 11:40 , =?ISO-8859-1?Q?Antonio_Fern=E1ndez_P=E9rez?= wrote: My apologies for these messages. Now, I have checked it and is growing the access log file. How can I do to deny these requests? I'm trying to configure Apache to deny all requests that tries to execute .dll files ind

Re: [users@httpd] Problems with cgi scripts and Apache's log.

2012-03-01 Thread Antonio Fernández Pérez
Hi again, My apologies for these messages. Now, I have checked it and is growing the access log file. How can I do to deny these requests? I'm trying to configure Apache to deny all requests that tries to execute .dll files ind cgi-bin directory. Any idea? I don't know how can I do it. Thanks. B

Re: [users@httpd] Problems with cgi scripts and Apache's log.

2012-03-01 Thread Antonio Fernández Pérez
Thanks for your help. I have gotten it doing this: AliasMatch ^/cgi-bin/(.*)\.dll$ /var/www/go_away.html Now Apache doesn't log errors about dll loads. Do you think that is it correct? Thanks. Best regards, Toni. El 1 de marzo de 2012 16:32, Antonio Fernández Pérez < antoniofernan...@fabergam

Re: [users@httpd] Problems with cgi scripts and Apache's log.

2012-03-01 Thread Antonio Fernández Pérez
I put an error log output. Thanks, [Thu Mar 01 16:31:10 2012] [error] [client 80.24.29.20] script not found or unable to stat: /var/www/www.fabergames.net/cgi-bin/cbws1084x.dll [Thu Mar 01 16:31:12 2012] [error] [client 88.23.110.4] script not found or unable to stat: /var/www/www.fabergames.net/

Re: [users@httpd] Problems with cgi scripts and Apache's log.

2012-03-01 Thread Antonio Fernández Pérez
Hi again, I have tried to configure this in my virtualhost of Apache but does not works. I have defined in virtualhost config file this: Alias /cgi-bin/cbws1084.dll "/var/www/go_away.html" Then, I have executed #service apache2 reload, the Apache's error log continues growing a lot (because contin

Re: [users@httpd] Problems with cgi scripts and Apache's log.

2012-03-01 Thread Steve Swift
My apologies; gmail disguised the Spanish so I didn't realise until too late. I should have been more careful with my English. If you added: Alias /cgi-bin/cbws1084.dll /var/apache2/html/go_away.html ... to your apache configuration, then any request for /cgi-bin/cbws1084.dll would be served f

Re: [users@httpd] Problems with cgi scripts and Apache's log.

2012-03-01 Thread Mark Montague
On March 1, 2012 6:48 , =?ISO-8859-1?Q?Antonio_Fern=E1ndez_P=E9rez?= wrote: 2012/3/1 Antonio Fernández Pérez mailto:antoniofernan...@fabergames.com>: I'm having problems with my Apache. Apache's log of my server is growing a lot because somebody tries to execute this file

Re: [users@httpd] Problems with cgi scripts and Apache's log.

2012-03-01 Thread Antonio Fernández Pérez
Hi Steve Thanks for your reply. I don't understand what I should to do. Can you explain me it again? Thanks. Best regards, Toni. El 1 de marzo de 2012 12:44, Steve Swift escribió: > You could alias /cgi-bin/cbws1084.dll to /sod_off.html > > 2012/3/1 Antonio Fernández Pérez > >> Hi everybody

Re: [users@httpd] Problems with cgi scripts and Apache's log.

2012-03-01 Thread Steve Swift
You could alias /cgi-bin/cbws1084.dll to /sod_off.html 2012/3/1 Antonio Fernández Pérez > Hi everybody, > > I'm having problems with my Apache. Apache's log of my server is growing a > lot because somebody tries to execute this file "cgi-bin/cbws1084.dll" that > doesn't exist. Anybody can tell m

[users@httpd] Problems with cgi scripts and Apache's log.

2012-03-01 Thread Antonio Fernández Pérez
Hi everybody, I'm having problems with my Apache. Apache's log of my server is growing a lot because somebody tries to execute this file "cgi-bin/cbws1084.dll" that doesn't exist. Anybody can tell me if is possible disable this or how can I do to solve it? Thanks. Best regards, Toni. -- *Ant