Re: OT- .htaccess
| From: | DeltaHost Servicios Internet | Date: | Tue, 15 Jan 2002 23:40:59 +0000 |
| Subject: | Re: OT- .htaccess | ||
| References: | 1 2 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-17823@lists.php.net to get a copy of this message | ||
Gracias pero ya lo solucione.
Pones un .htaccess dentro del /web que diga:
ErrorDocument 404 /error.html
y ese file lo pones en /web
Y listo, ese sitio tiene su propio html de error.
Espero que a otro le sirva.
Saludos.
Fernando.
----- Original Message -----
From: "davinci" <davinci@dinamica.com.ar>
To: <lista@phpes.com>
Sent: Tuesday, January 15, 2002 8:14 PM
Subject: Re: [PHP-ES] OT- .htaccess
> Hola,
>
> No necesitás poner nada en el .htaccess, de hecho basta con editar el
httpd.conf y poner algo por el
> estilo:
>
> ErrorDocument 500 /error/internalerror.html
> ErrorDocument 404 /error/filenotfound.html
> ErrorDocument 403 /error/accessdenied.html
>
> Saludos
>
> DeltaHost Servicios Internet wrote:
>
> > Hola amigos, les pediria me puedan ayudar con este tema OT.
> >
> > Tengo un servidor Apache con virtualhosts, y necesito que cada sitio
tenga su propio error 404 via un html. Necesito configurar el htaccess en
cada directorio /web, pero tengo las mas palida idea de como configurar el
.htaccess
> >
> > Espero vuestra ayuda.
> >
> > Atte.
> >
> > Fernando M. Hönig
> >
> >
>
>
>
> ---------------------------------------------------------------------
> Archivo On-line: http://www.phpes.com/
> Manual PHP en español: http://www.php.net/manual/es/
> Para dar de baja la suscripción, mande un mensaje a:
> lista-unsubscribe@phpes.com
>