Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 8 of 8
  1. #1
    Junior Member
    Join Date
    Dec 2005
    Location
    Saint Louis
    Posts
    5
    Member #
    12199
    Hello Forum Members,
    Does anyone know where to access the default "Index of /" page that results when no index.html file is present under a directory?

    I'd like to be able to use the default page without an index.html file to show the files listed under the directory, but would like to change the design of that page.

    Thanks for any comments and suggestions! Happy New Year, too!

    Diana

  2.  

  3. #2
    WDF Staff Wired's Avatar
    Join Date
    Apr 2003
    Posts
    7,657
    Member #
    1234
    Liked
    138 times
    That's auto-generated by the web server software.
    The Rules
    Was another WDF member's post helpful? Click the like button below the post.

    Admin at houseofhelp.com

  4. #3
    Junior Member
    Join Date
    Dec 2005
    Location
    Saint Louis
    Posts
    5
    Member #
    12199
    Thank you, wired.

    Diana

  5. #4
    Senior Member seanmiller's Avatar
    Join Date
    Sep 2003
    Location
    Glastonbury, UK
    Posts
    868
    Member #
    3263
    Liked
    1 times
    You could write something custom in php fairly easily. Just list the contents of the directory and create hyperlinks for the files and/or the directories found.

    Sean

  6. #5
    Junior Member
    Join Date
    Dec 2005
    Location
    Saint Louis
    Posts
    5
    Member #
    12199
    seanmiller: You could write something custom in php fairly easily. Just list the contents of the directory and create hyperlinks for the files and/or the directories found.
    Thank you. The script automatically sends them to the directory at which their newly uploaded files exists, so they can go there immediately. When they do, they'll see the default "Index of/" page.

    I have no knowledge in advance of the file names they'll upload, and am trying to keep the process automated. I could leave it alone, and the script works fine - but the default "Index of/" page is too generic.

    Thanks again,
    Diana

  7. #6
    Senior Member seanmiller's Avatar
    Join Date
    Sep 2003
    Location
    Glastonbury, UK
    Posts
    868
    Member #
    3263
    Liked
    1 times
    I get the impression this is a multi-user system designed specifically for uploads... are you sure there is not something already written by others that would help here?

    Have you visited http://hotscripts.com and searched through the scripts available? There are many free ones out there that are designed for what I guess (and it's only a guess) is the sort of thing you're trying to achieve.

    Sean

  8. #7
    Junior Member
    Join Date
    Dec 2005
    Location
    Saint Louis
    Posts
    5
    Member #
    12199
    seanmiller: I get the impression this is a multi-user system designed specifically for uploads... are you sure there is not something already written by others that would help here?
    It's not designed specifically for uploads. I had found six scripts at Hotscripts, but each one uploads the video to the specified directory. If I add an index page to the directory, the user will more than likely get confused wondering where the uploaded videos are. I'd just like to simplify it so the videos are available for immediate viewing at the designated upload directory, which, without an index page, has that ugly default appearance.

    Thanks for the response.

    Diana

  9. #8
    Junior Member
    Join Date
    Dec 2005
    Location
    Saint Louis
    Posts
    5
    Member #
    12199
    I found the answer I was looking for, and wanted to share it here with anyone else who might be interested:

    http://www.webdevforums.com/showthre...2429#post52429

    Originally Posted by dk01
    I have never done this but have seen people who have. Try looking at something like this:
    http://httpd.apache.org/docs/1.3/mod/mod_autoindex.html

    Or if you have apache 2 installed check out these examples:
    http://idlefortress.dhis.org/misc/
    http://howto.unixdev.net/

    They are done using this method:
    http://howto.unixdev.net/dirlist.html#examples

    Its using mod_rewrite, mod_include, and mod_autoindex so you'd have to check with your host.
    Thanks again for your suggestions, and Happy New Year!

    Diana


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 04:35 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com