Content negotiation in Apache
From: Rodolfo J. Paiz (rpaiz_at_simpaticus.com)
Date: 12/27/03
- Previous message: Robert Brown: "Re: Update boot problem"
- Next in thread: Robert Brown: "Content negotiation in Apache"
- Reply: Robert Brown: "Content negotiation in Apache"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: Robert Brown: "Re: Update boot problem"
- Next in thread: Robert Brown: "Content negotiation in Apache"
- Reply: Robert Brown: "Content negotiation in Apache"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Content negotiation in Apache
... > negotiation, and while I think I'm starting to get the picture I'm not ...
Can someone offer a quick hint to getting this working? ... should I ever choose to change
a suffix I ... I am not aware of any way to get apache to try to tack a suffix onto
... (RedHat) - Re: How do search engines index multilingual content?
... because my browsers do not transmit q=0. ... It's already taken account of in
the Apache negotiation algorithm, ... send me any other language which you have,
... (comp.infosystems.www.authoring.html) - Re: Generated javascript from .pl files
... how many times have I written "Content Negotiation" already? ... better if you
read the (Apache) docs on how CN automagically can work for you. ... AddHandler cgi-script
.js ... in a specific directory holding his perl-generated javascript files. ...
(comp.lang.javascript) - Re: Apache2 Problems on SuSE 9.0 (Clean install, no response)
... |configured [hint: SSLSessionCache] ... (alt.os.linux.suse) - Re: Apache2 + PHP4
... > specifying the .php extension ... Go read up on content negotiation
in Apache. ... Prev by Date: ... (comp.lang.php)