SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Feb 2004
    Location
    St. Paul
    Posts
    61
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    open as web folder link

    Hi,
    Is there any way to automatically have a link open as a web folder? If you go to "File" and click on "Open..." there is a text box with that option. Is there any way that I can have a link that, when clicked on, opens as a web folder without the user having to go to File--> Open?

    Thank you for your help.
    Ryan

  2. #2
    SitePoint Zealot
    Join Date
    May 2004
    Location
    Malaysia
    Posts
    181
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Create a directory without any index file (index.html or index.php) should make it display the content of the directory.

    Try creating a .htaccess file in the directory. Put the codes below into the file.

    Code:
    Options +Indexes
    IndexOptions FancyIndexing IconsAreLinks
    DirectoryIndex other.html
    You can also specify a different index file using the last line. Remove it if you want to keep with your default index.

    I haven't tested this out but I think you can't display the contents of the directory with an index file. Hope it works.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •