Tema: .htaccess
Ver Mensaje Individual
  #4 (permalink)  
Antiguo 31/01/2003, 02:36
Avatar de Jokin
Jokin
 
Fecha de Ingreso: enero-2002
Mensajes: 725
Antigüedad: 22 años, 4 meses
Puntos: 1
Saludos:

Pues leyendo el manual que comenta cvdhs más este otro:

http://www.europeanwebmasters.com/Spanish/htaccess.html

parece bien sencillo:

.htaccess.txt -->en directorio raiz y crear con un editor de textos (Bloc de notas)

ErrorDocument 301 /notfound.html
ErrorDocument 400 /notfound.html
ErrorDocument 403 /notfound.html
ErrorDocument 404 /notfound.html
ErrorDocument 500 /notfound.html
ErrorDocument 501 /notfound.html

notfound.html

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#FFFFFF" text="#000000">
<div align="center"><font size="7" face="Verdana, Arial, Helvetica, sans-serif"><b>ERROR
</b><b></b></font> </div>
</body>
</html>


...pues a mí no me funciona

Se me ocurre:

1.- ...algo estoy haciendo mal
2.- ...el servidor en el que está mi web no permite esto (?) Windows 2000


Estoy a punto de cambiar toda la web y muchos enlaces antiguos caerán en la famosa not found...ayúdenme por favor!!!


Un saludo y muchas gracias