1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

apache question- modify the default "directory" page?

Discussion in 'Apache' started by disgust, Sep 14, 2004.

  1. #1
    is there any way to modify the default directory view you get on apache if there's no index.html/htm/php/shtml etc?

    in other words, when there's no index file, I'd like to get the directory view still- but add something to that page. like a "hosted by blah" or something, to get an extra link or two :)
     
    disgust, Sep 14, 2004 IP
  2. flawebworks

    flawebworks Tech Services

    Messages:
    991
    Likes Received:
    36
    Best Answers:
    1
    Trophy Points:
    78
    #2
    No; because you have a directory listing. You can organize the links that show in an order by using fancy indexing in your htaccess file but that's about it.
     
    flawebworks, Sep 14, 2004 IP
  3. clickdoc

    clickdoc Guest

    Messages:
    39
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    There is a directive called HeaderName you can put in your apache.conf file that will be included at the top of any index listing. You can find more information here:

    http://httpd.apache.org/docs/mod/mod_autoindex.html#headername
     
    clickdoc, Oct 5, 2004 IP
  4. iconv

    iconv Well-Known Member

    Messages:
    189
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    108
    #4
    You can use the ReadmeName directive in your .htaccess file to have something added as a footer to the standard directory listing
     
    iconv, Jun 8, 2005 IP
  5. Varsys Inc.

    Varsys Inc. Peon

    Messages:
    51
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Varsys Inc., Feb 8, 2009 IP