Ver Mensaje Individual
  #6 (permalink)  
Antiguo 28/11/2009, 13:07
txampa
 
Fecha de Ingreso: septiembre-2009
Mensajes: 12
Antigüedad: 14 años, 7 meses
Puntos: 0
Respuesta: Servidor sin recursos, posible ataque?

Hola Vun!!

Tenemos un foro, donde la gente puede subir su avatar, o alguna imagen.
Pero creo que esto último no funcionaba.
Por lo demás es un portal en joomla.

Hola safranero, ya tengo el .htaccess de mi instalacion joomla.
Le pongo estas directivas tal cual, copio y pego como queda:

################################################## ###
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations. It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file. If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your sef url's. If they work,
# it has been set by your server administrator and you do not need it set here.
#
################################################## ###

## Can be commented out if causes errors, see notes above.
Options +FollowSymLinks

# mod_rewrite in use

//LINEAS QUE AÑADO
<Directory "/var/www/vhosts/default/htdocs/">
RewriteCond %{HTTP_REFERER} ^url oculta atacante
RewriteRule .* - [F,L]
</Directory>
// fin lineas //

#php_value memory_limit 32M

RewriteEngine On
...
...

En cuanto guardo el .htacces, la web me deja de funcionar.
¿que estoy haciendo mal?

Muchas gracias por las respuestas!
1saludo!