Re: Content negotiation in Apache

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

  • Next message: lappin: "configure/make problem with mod_caucho,"
    To: redhat-list@redhat.com
    Date: Sat, 27 Dec 2003 18:35:27 +0100
    
    

    Hi Rodolfo,

    > 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.

    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: lappin: "configure/make problem with mod_caucho,"

    Relevant Pages

    • Re: Getting embedded PHP to work with Apache on OSX
      ... enabling Web Sharing in Preferences ... When I serve a file with .php extension, ... if I serve an .html file with embedded php tags, ...
      (comp.sys.mac.programmer.misc)
    • Re: Getting embedded PHP to work with Apache on OSX
      ... When I serve a file with .php extension, ... if I serve an .html file with embedded php tags, ... AddType application/x-httpd-php .php ...
      (comp.sys.mac.system)
    • Re: How do we get there from here?
      ... > then sub the whole of that generated markup into the template? ... layed out on the fly, a simple IMG tag, or even an entire HTML document. ... PHP scripting provides 10 times the features of both of these ... idea as tokens can eliminate a huge amount of maintance, ...
      (comp.databases.pick)
    • Re: query string passing woes........ help... please....
      ... |> | offer any help other than saying that my validation could be FAR more ... I'm a total newbie at php. ... The easiest way for you would be to make the html form called form.php ... $_SESSION array using the same names. ...
      (alt.php)
    • Re: HELP - Cant change Include Path
      ... Here is my php.ini path for the php.ini in both php and sql dirs: ... which did work on the remote linux server and sent me some mail ... Although my gmail acct picked the mail up as ... an attachment instead of as html - but gmail is really wierd about ...
      (comp.lang.php)