Re: Problems with cgi scripts and Apache's log.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On March 1, 2012 6:48 , =?ISO-8859-1?Q?Antonio_Fern=E1ndez_P=E9rez?= <antoniofernandez@xxxxxxxxxxxxxx> wrote:

    2012/3/1 Antonio Fernández Pérez <antoniofernandez@xxxxxxxxxxxxxx
    <mailto:antoniofernandez@xxxxxxxxxxxxxx>:


        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?

El 1 de marzo de 2012 12:44, Steve Swift <Swifty@xxxxxxxxxxxxxx <mailto:Swifty@xxxxxxxxxxxxxx>> escribió:
You could alias /cgi-bin/cbws1084.dll to /sod_off.html

Thanks for your reply. I don't understand what I should to do. Can you explain me it again?

He means: set up an Alias, Redirect, or RewriteRule directive to intercept requests for /cgi-bin/cbws1084.dll and serve an HTML page, instead, that tells the person to go away (or gives them another error message). Since the person will be getting a real HTML page, you will not get errors in your Apache HTTP Server error log about the thing that they are requesting not existing.

For more information and for examples, please read the Apache HTTP Server documentation:

https://httpd.apache.org/docs/2.2/mod/mod_alias.html#alias
https://httpd.apache.org/docs/2.2/mod/mod_alias.html#redirect
https://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewriterule
https://httpd.apache.org/docs/2.2/rewrite/

Or, if the person requesting cgi-bin/cbws1084.dll is always requesting it from the same IP address, block that IP address at your network-level or host-level firewall. This will prevent the requests from getting to Apache HTTP Server and from getting logged.

--
  Mark Montague
  mark@xxxxxxxxxxx


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux