Re: Content negotiation in Apache

From: Leonard den Ottolander (leonardjo_at_hetnet.nl)
Date: 12/30/03

  • Next message: Price, Jason: "4tb partition on Linux"
    To: redhat-list@redhat.com
    Date: Tue, 30 Dec 2003 20:44:43 +0100
    
    

    Hello Rodolfo,

    > A single 404 page can have PHP code that says "You asked for X page, which
    > no longer exists. The new page and correct URL is Y." Here, X and Y are
    > located in an array, and Y is supplied according to whatever X the visitor
    > requested. I just have to read the docs to see how to get X. Surely not
    > difficult.

     Well, I am not so sure this is so straight forward. This would make it
    necessary for apache to pass the non-existent document (X) as a referrer to
    the 404 document. Not sure if that actually happens. Please let me know if
    you solve this problem.

    > > ErrorDocument 404 /somepage.html
    >
    > Ah... thanks! <grin>

     You're welcome.

    Bye,
    Leonard.

    --
    mount -t life -o ro /dev/dna /genetic/research
    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Price, Jason: "4tb partition on Linux"