Tema: baneo ip
Ver Mensaje Individual
  #1 (permalink)  
Antiguo 03/04/2010, 20:56
tokiodata
 
Fecha de Ingreso: mayo-2008
Mensajes: 287
Antigüedad: 16 años
Puntos: 2
baneo ip

buenas, estoy trabajando con un sistema en php de baneo de ip "limita las descargas", es decir cada tanto tiempo permti descargar de nuevo el archivo.
tengo un archivo llamado .htaccess
contiene

RewriteEngine on
RewriteRule (.*)(pdf|zip)$ /descargas/dl.php [QSA]
lo que en realidad quiero hacer es negar el acceso a archivos en php por ejemplo a un panel, que solo pueda ingresar de nuevo despues de 2 minutos.
entonces realice la modificacion

RewriteEngine on
RewriteRule (.*)(pdf|php)$ /descargas/dl.php [QSA]

pero me sale un error
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, postmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
que tendria que cambiar para negar el acceso a archivos en php ? me refiero a no descargarlos si no que al re ingresar bloquee la ip como si descargar un archivo