Referring to a folder of files that changes regularly

Discussion in 'HTML' started by AJ, Nov 29, 2003.

  1. AJ

    AJ Guest

    My webspace provider doesn't support the automatic listing of files when an
    index.html is not available. Therefore does anyone know a way in which I
    can write the index.html for
    that directory that lists all the files dynamically i.e. so I can change the
    files via ftp without having to change the html that points to them?
     
    AJ, Nov 29, 2003
    #1
    1. Advertising

  2. AJ

    brucie Guest

    in post <news:bqatpd$qjl$>
    AJ said:

    > My webspace provider doesn't support the automatic listing of files when an
    > index.html is not available.


    (assumes apache) stick the below in a .htaccess file[1] for the
    directory you want the directives to apply to. child directories inherit
    the directives so if you stick it in your root the directives will apply
    to all of your site.

    #allow directory listing
    Options +Indexes

    [1] a .htaccess file is a plain text file named as shown. if you create
    the file with notepad save the file with quotes to prevent notepad from
    adding a .txt extension i.e: ".htaccess"

    a hash '#' indicates a comment line. remove/change/add them if you wish.

    --
    brucie
    30/November/2003 07:22:08 am
     
    brucie, Nov 29, 2003
    #2
    1. Advertising

  3. AJ

    Wipkip Guest

    AJ wrote:
    > My webspace provider doesn't support the automatic listing of files
    > when an index.html is not available. Therefore does anyone know a
    > way in which I can write the index.html for
    > that directory that lists all the files dynamically i.e. so I can
    > change the files via ftp without having to change the html that
    > points to them?


    This works ok too.
    http://tinyurl.com/x0xl

    --
    Duende
     
    Wipkip, Nov 29, 2003
    #3
  4. AJ

    AJ Guest

    Brucie - works perfectly - what a star - thanks!

    "brucie" <> wrote in message
    news:bqb2rc$20qmab$-berlin.de...
    > in post <news:bqatpd$qjl$>
    > AJ said:
    >
    > > My webspace provider doesn't support the automatic listing of files when

    an
    > > index.html is not available.

    >
    > (assumes apache) stick the below in a .htaccess file[1] for the
    > directory you want the directives to apply to. child directories inherit
    > the directives so if you stick it in your root the directives will apply
    > to all of your site.
    >
    > #allow directory listing
    > Options +Indexes
    >
    > [1] a .htaccess file is a plain text file named as shown. if you create
    > the file with notepad save the file with quotes to prevent notepad from
    > adding a .txt extension i.e: ".htaccess"
    >
    > a hash '#' indicates a comment line. remove/change/add them if you wish.
    >
    > --
    > brucie
    > 30/November/2003 07:22:08 am
     
    AJ, Nov 30, 2003
    #4
  5. Wipkip wrote:
    > This works ok too.
    > http://tinyurl.com/x0xl


    What's this <span class="code">? You don't seem to be styling it, and
    <code> would probably be right.
     
    Leif K-Brooks, Nov 30, 2003
    #5
  6. AJ

    Wipkip Guest

    Leif K-Brooks wrote:
    > Wipkip wrote:
    >> This works ok too.
    >> http://tinyurl.com/x0xl

    >
    > What's this <span class="code">? You don't seem to be styling it, and
    > <code> would probably be right.


    I guess the css file might have helped. Oh well make your own or change the code.

    --
    Duende
     
    Wipkip, Nov 30, 2003
    #6
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. VB Programmer
    Replies:
    0
    Views:
    310
    VB Programmer
    Nov 3, 2003
  2. Hal Vaughan
    Replies:
    8
    Views:
    530
    Chris Uppal
    Mar 31, 2006
  3. jonefer
    Replies:
    0
    Views:
    446
    jonefer
    Feb 16, 2008
  4. Erwin Abbott

    RubyGarden regularly down

    Erwin Abbott, Jun 23, 2007, in forum: Ruby
    Replies:
    0
    Views:
    92
    Erwin Abbott
    Jun 23, 2007
  5. JeffP
    Replies:
    0
    Views:
    80
    JeffP
    May 28, 2008
Loading...

Share This Page