[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: .htaccess



Also sprach "Christian Wohlgemuth" <maillist@visiotologie.org> (Thu, 12 May 2005 12:25:38 +0200):
> Hallo Liste,
> 
> Ich habe mittels .htaccess alle 404's auf /404.php umgeleitet.
> Leider wird die Variable $_SERVER[HTTP_REFERER] gelöscht bzw. ist nicht
> mehr gesetzt.

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>

..?

sl ritch.



Reply to: