Content negotiation in Apache

From: Rodolfo J. Paiz (rpaiz_at_simpaticus.com)
Date: 12/27/03

  • Next message: Robert Brown: "Content negotiation in Apache"
    To: redhat-list@redhat.com
    Date: Sat, 27 Dec 2003 01:04:02 -0600
    
    

    Hey, all:

    I've been reading the docs for Apache 1.3.x trying to understand content
    negotiation, and while I think I'm starting to get the picture I'm not
    altogether clear. Can someone offer a quick hint to getting this working?

    I am switching all ".html" files on my website to ".php" but I now realize
    that I will need a bunch of "Permanent Redirect" calls so as not to break
    links and search engines. And, should I ever choose to change a suffix I
    will have the same problem, which is why content negotiation sounds so
    nice. All I want is for Apache to see a URI like
    "http://domain.com/sendmail-howto" and serve up sendmail-howto.php if it
    exists, or sendmail-howto.html if the .php file does not exist. That way my
    URI's will be shorter, easier to remember for users, and less prone to
    breakage later if/when I have to change something.

    Pointers and hints most welcome!

    -- 
    Rodolfo J. Paiz
    rpaiz@simpaticus.com
    http://www.simpaticus.com
    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Robert Brown: "Content negotiation in Apache"

    Relevant Pages