Results 1 to 3 of 3

Thread: Apache problems

  1. #1
    FrozenShadow23's Avatar

    Black Mage Power.

    Join Date
    Dec 2002
    Location
    WA, USA
    Posts
    1,004

    Apache problems

    I don't know if any of you know much about Apache, but I recently started using it and had a question regarding user restrictions.

    Okay, I get that I can use .htaccess to password protect a directory recursivly, but what I want to know, is if I can use it to restrict just the ability to display indexes. I don't mean a single file called "index.html or .php" or anything like that, I mean apache's indexing abilities that list files and folders in a directory and allow you to browse through them.

    I have it setup now so that the directory is inaccessable unless you have a password. This goes for any links into it and actually visiting it. What I want, is for it to protected from being viewed, unless you have a password, but still accessable through external links. Basically, the files won't be protected, just the ability to index it.

    Any suggestions?
    How's about them apples?

  2. #2
    method's Avatar

    yeah, whatever...

    Join Date
    May 2002
    Location
    New World Order HQ
    Posts
    1,180
    In your virtual server's settings.. in "Directory Indexing" options.. there's a textbox for you to list files for indexing to IGNORE...

    Add *.* to that list and all files will be ignored in the directory indexing for that virtual server. (It'll look like all directories are empty to the end-user)

    I'm sure there are better ways but this quick-fix worked for me.

    Peace!!
    ||| = + |-|---------No longer lurking...
    m e t h o d-----...Target aquired: BREIN

  3. #3
    FrozenShadow23's Avatar

    Black Mage Power.

    Join Date
    Dec 2002
    Location
    WA, USA
    Posts
    1,004
    This effectivly turns indeing off though, if I wanted to do that, I could just delete the word "indexes" in the <directory> areas, I want to just restrict access to the capability, like, require a password using .htaccess before a user can view it.

    Thanks for the input though, that's a much cleaner looking way of turning off indexes than just deleting "indexes," as it doesn't leave the Access Denied page, but a blank one instead.
    How's about them apples?

Similar Threads

  1. Any problems using K-Lite v2.4.3 with SP2?
    By binary in forum General Discussion
    Replies: 6
    Last Post: October 8th, 2004, 11:27 PM
  2. problems playing dvd's
    By WackoTacko in forum Problems & Questions
    Replies: 7
    Last Post: September 8th, 2004, 01:25 PM
  3. New System New Problems.
    By Omyn in forum General Computing
    Replies: 5
    Last Post: August 25th, 2004, 03:25 PM
  4. Any Nero 6 Problems?
    By Dizzle4 in forum Problems & Questions
    Replies: 3
    Last Post: August 3rd, 2004, 11:01 AM
  5. Replies: 3
    Last Post: August 3rd, 2004, 10:34 AM

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
  •