Re: .htaccess
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Christian Wohlgemuth wrote:
>>wenn's sich's da um apache handelt, warum verwendest du nicht
>>
>>httpd.conf
>>
>><snip>
>># 2) local redirects
>>#ErrorDocument 404 /missing.html
>># to redirect to local URL /missing.html
>>#ErrorDocument 404 /cgi-bin/missing_handler.pl
>># N.B.: You can redirect to a script or a document using
>>server-side-includes.
>>#
>># 3) external redirects
>>#ErrorDocument 402 http://some.other_server.com/subscription_info.html
>># N.B.: Many of the environment variables associated with
>>the original
>># request will *not* be available to such a script.
>></snip>
>>
>>..?
>>
>
> Welchen Unterschied sollte es bringen, ob es nun in der .htaccess oder
> in der httpd.conf steht (abgesehen vom reload, nach jeder Änderung)?
>
z.B. dass du die Einträge nur an einer Stelle zu pflegen hast und nicht
an mehreren verteilten Pfaden, wo dazu in den Dateien wohl meist die
gleichen Einträge hinterlegt sind -> Redundanz + viel Arbeit bei Änderungen.
Paul
- --
Linux-User #271918 with the Linux Counter, http://counter.li.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (MingW32)
iEYEARECAAYFAkKDPO4ACgkQqErKtBWD7VT9dwCdFoBZIonS2zWLDRmkwO1c5RyA
6KYAn1HOHfltyTpvzFfbzEGiXiZQB42O
=XCBV
-----END PGP SIGNATURE-----
Reply to:
- References:
- Re: .htaccess
- From: "Christian Wohlgemuth" <maillist@visiotologie.org>