Re: [users@httpd] Redirect Matching Question

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

 



Use Rewrite rule:

RewriteEngine on
RewriteRule .*cmd.exe.* http://to_where_you-want


Mike



Jack Stone said the following on 29-04-2005 14:05:
> Hello,
> 
> I have this in my httpd.conf (apache-ver-1.3x on FBSD)
> RedirectMatch ^.*\.(dll|ida)*$ http://127.0.0.1/$1
> 
> I have been using the redirect above, but I've noticed it doesn't catch the 
> numerous annoying requests below:
> 
> "GET 
> /default.ida?XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX%u9090%u6858%ucbd3%u7801%u9090%u6858%ucbd3%u7801%u9090%u6858%ucbd3%u7801%u9090%u9090%u8190%u00c3%u0003%u8b00%u531b%u53ff%u0078%u0000%u00=a 
> HTTP/1.0" 302 639 "-" "-"
> 
> How may I modify my Redirect to catch the above? I know it's just a matter 
> of better regex, but I need to exercise care out of my ignorance.
> 
> Thanks for any tips!
> 
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today - it's FREE! 
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> 
> 
> ---------------------------------------------------------------------
> 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
> 
> 

=================================
Este Sistema executa REVERSE DNS LOOKUP em HELO/EHLO DOMAIN.
Esteja certo de enviar email via Dominio Real.


==================================

Listas via WEB/Email simultâneamente 
"Poemas - Poesias - De bem com a vida" - Gosta de romantismo ?
"Firefox" - Tudo a respeito deste excelente browser
"Thunderbird" - Melhor que tudo. Melhor que o Outlook
"Estórias interativas" - Crie sua estória e os outros continuam
"Tudo sobre Sexo - Amor - Dúvidas - Dicas em relacionamentos"
http://www.netforum.com.br/gust/index.php


Está procurando / Ofertando emprego ?
Envie email para listas@xxxxxxxxxxxxxxx
No assunto ponha: SUBSCRIBE VAGAS
Siga as instruções, e após isto para enviar mensagem
para a lista envie para: vagas@xxxxxxxxxxxxxxx

Este email passou por www.netforum.com.br e submetido
a rigoroso teste de anti-virus e é 100% livre de SPAM.

Se você está procurando relacionamentos, não deixe de
visitar: http://www.netforum.com.br
Quem sabe você encontra um bom relacionamento.

Quer ter seu FotoBlog Pessoal ? Crie seu Álbum Público
ou Privativo. Deixe os outros verem e comentarem.
Igual a este você nunca viu !!
http://www.netforum.com.br http://www.marulo.net


Gosta de imagens? Visite a galeria de imagens
em 3D. Você pode enviar postais, comentar, votar e fazer
downloads.

http://www.netforum.com.br



---------------------------------------------------------------------
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