Re: Content negotiation in Apache
From: Rodolfo J. Paiz (rpaiz_at_simpaticus.com)
Date: 12/27/03
- Previous message: Robert Brown: "Re: tcpdump broken after rh9 2.4.20-27.9 kernel upgrade"
- In reply to: Leonard den Ottolander: "Re: Content negotiation in Apache"
- Next in thread: Leonard den Ottolander: "Re: Content negotiation in Apache"
- Reply: Leonard den Ottolander: "Re: Content negotiation in Apache"
- Reply: Sean Estabrooks: "Re: Content negotiation in Apache"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: redhat-list@redhat.com Date: Sat, 27 Dec 2003 13:09:56 -0600
At 11:35 12/27/2003, you wrote:
> > Rather than
> > creating a .var file for _every_ resource I want to have mapped, I would
> > much rather have Apache know always to serve up PHP preferably, HTML if PHP
> > is not available, and TXT files as a last resort.
>
> I think you can achieve this by reordering the DirectoryIndex entries.
Thanks for the tip.
Note, however, that I am not searching for how to do this for the index
page... that works already and works well. What I'd like is to have my
"news" page, and have Apache search for news.php, news.html, or news.txt
(in that order) and serve up the first one it finds.
-- 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: tcpdump broken after rh9 2.4.20-27.9 kernel upgrade"
- In reply to: Leonard den Ottolander: "Re: Content negotiation in Apache"
- Next in thread: Leonard den Ottolander: "Re: Content negotiation in Apache"
- Reply: Leonard den Ottolander: "Re: Content negotiation in Apache"
- Reply: Sean Estabrooks: "Re: Content negotiation in Apache"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|