Web Hosting Forums

Results 1 to 9 of 9

This is a discussion on Um .. folder permissions? in the Hosting Talk & Chit-chat forum
I think thats what I am about to ask.. To be honest I am not sure ... Is there anyway to to set a web ...

  1. #1
    Loyal Client
    Join Date
    Sep 2002
    Posts
    47

    Um .. folder permissions?

    I think thats what I am about to ask.. To be honest I am not sure ...

    Is there anyway to to set a web folder so it will list the files in the folder thru the web browser without creating a index file?

    thanks!

    -fallen angel

  2. #2
    hell no, we won't go!
    Join Date
    Sep 2002
    Posts
    1,093
    - Colin

    I like food.

  3. #3
    Loyal Client
    Join Date
    Sep 2002
    Posts
    47
    Ok .. read all that .... sorry if im sounding like an idiot here.

    I'm not sure how to set up a .htaccess file ...


    thanks again ...

  4. #4
    hell no, we won't go!
    Join Date
    Sep 2002
    Posts
    1,093
    Basically, open up Notepad (or similar), paste your .htaccess file into it (I think "Options Indexes" in this case) and save it as ".htaccess" Then upload it to your server in the directory in which you want the index of files.
    - Colin

    I like food.

  5. #5
    Loyal Client
    Join Date
    Sep 2002
    Posts
    47
    ok maybe thats where im getting confused cause im not real sure what a htaccess file is

    and when u say paste "Options Indexes" into a htaccess file is it as simple as pasting that one line into a file and saving it as '.htaccess' ?

    somehow it doesnt seem it could be that simple ...

    *totally confused*

    sorry to be such a pain

  6. #6
    Kubla Khan lookout's Avatar
    Join Date
    Aug 2002
    Location
    Orodruin
    Posts
    1,377
    Originally posted by fallen angel
    somehow it doesn't seem it could be that simple ...
    Try it. It really is that simple. Just be sure to put it in the desired folder. It even works in peace with custom 403 error pages, which might otherwise pop up when someone tries to list a valid folder.

    Thanks Dogma. I hadn't realized it was this was quite so straightforward myself. Guess I've gotta brush up again on my .htaccess info.
    The trouble with our times is that the future is not what it used to be.
    - Paul Valery

  7. #7
    Loyal Client
    Join Date
    Sep 2002
    Posts
    47
    Ok hopefully this will be my last dummie question ...

    I opened a text file. and I all I put in it was:

    Options Indexes

    And then I 'Save as'

    here is my question do i save as 'filename.htaaccess' or '.htaccess.txt (.html?)' or well how exactly do i save it as a .htaaccess file

    *goes back to reading Webpages for Dummies book*

    thanks!

  8. #8
    Kubla Khan lookout's Avatar
    Join Date
    Aug 2002
    Location
    Orodruin
    Posts
    1,377
    If your Ascii text editor (like notepad) forces you to put on an extension like .txt or .html. just rename the thing afterward to take it out. The file MUST be called ".htaccess"

    NOT "htaccess", ".htaccess.txt" or ".htaccess.html".

    .htaccess is a special filename.

    Also note that the period in front of the filename will make it a hidden file on Unix and Linux based systems, which might not appear in a regular folder listing. Be aware FTP clients typically must be configured to show hidden files like these specifically, if that's what you're using to upload the file.
    The trouble with our times is that the future is not what it used to be.
    - Paul Valery

  9. #9
    Loyal Client
    Join Date
    Sep 2002
    Posts
    47
    GOT IT!!! thank you soooo much!!!

    thanks for being so patient with me

    -fallen angel

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
  •