FDM+ wrote:
> Hi folks,
Hi,
> my website seems to be the preferred target for Sql Injection.
> http://mywebsite/index.php/Cariche-sociali.html?page=0&pop=http%3A...%2hoste
>
> Is there a way to configure apache to redirect elsewhere this kind of
> traffic? I mean redirecting the url while the visitor type an url like this
> one (or above one):
>
> http://mywebsite.tld/path/HTTP://SOMETHING-LIKETHIS
>
> thus checking the double http:// and redirect this traffic to another site.
>
Yes, you can use a module for url rewriting (mod_rewrite):
http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html
But that is fixing your problem in the wrong way.
But I must urge you to fix your application.
If SQL injection is possible, fix the scripts.
SQL injection vunerability means your receiving scripts are written by
an amateur, since it is easily countered.
If you are using a third party package (joomla?), get the latest
version. Maybe they fixed it.
Regards,
Erwin Moller
> Thank you
> F
>