+ Reply to Thread
Results 1 to 4 of 4
Like Tree3Likes
  • 2 Post By palmerx6414
  • 1 Post By palmerx6414

Thread: Can't view a folder on my site as raw file list

  1. #1
    palmerx6414 is offline x10Hosting Member palmerx6414 is an unknown quantity at this point
    Join Date
    Jul 2011
    Posts
    29

    Can't view a folder on my site as raw file list

    Obviously x10hosting support doesn't care, so I'm going to ask the users.

    Okay, normally you can go to, say, website.tk/files
    I could before on a site I had hosted with x10hosting with a free domain. Now when I go to view it as a directory to see a files list, I get the "404 not found" error, but I can still view (hypothetically) website.tk/files/image.jpg

    I asked support and my thread got closed without an answer.
    Why is it that I can't view a directory like that now?

    Thank you.
    dinomirt96 and verlmirt17 like this.

  2. #2
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,633

    Re: Can't view a folder on my site as raw file list

    What you used to have (Indexing) was the default behavior for the webserver Apache.

    They switched webservers to Litespeed, which does not have Indexing as a default behavior. If you really require the functionality (it is more of a security hole) , you can add an index.php to the directory that will read the directory and build the equivalent of the Apache "Index of" page.
    Nothing is always absolutely so.

  3. #3
    adam.k is offline x10Hosting Member adam.k is an unknown quantity at this point
    Join Date
    Sep 2008
    Posts
    35

    Re: Can't view a folder on my site as raw file list

    Check that you don't have the -Indexes option set in an htaccess file.
    Otherwise, maybe check your cPanel configuration in Index Manager.
    Or is it possible that the directory you're trying to look at doesn't exist
    anymore?

  4. #4
    palmerx6414 is offline x10Hosting Member palmerx6414 is an unknown quantity at this point
    Join Date
    Jul 2011
    Posts
    29

    Re: Can't view a folder on my site as raw file list

    Quote Originally Posted by descalzo View Post
    What you used to have (Indexing) was the default behavior for the webserver Apache.

    They switched webservers to Litespeed, which does not have Indexing as a default behavior. If you really require the functionality (it is more of a security hole) , you can add an index.php to the directory that will read the directory and build the equivalent of the Apache "Index of" page.
    Okay, that makes sense. I think I'll just use a .php file to build the list.
    It would have been nice if support would have just explained that the first time I asked. >.>
    karimirt47 likes this.

+ Reply to Thread

Similar Threads

  1. Can't view folder as a directory list.
    By palmerx6414 in forum Free Hosting
    Replies: 0
    Last Post: 11-22-2011, 12:35 PM
  2. I can't view list of files in subfolders of my site
    By loststar300095 in forum Free Hosting
    Replies: 1
    Last Post: 10-24-2011, 03:21 AM
  3. cannot view webpage: file not found / Default Web Site
    By mikebezeau35 in forum Free Hosting
    Replies: 0
    Last Post: 09-13-2011, 01:46 PM
  4. loading site attemps file download not view
    By jjwinter in forum Free Hosting
    Replies: 2
    Last Post: 05-09-2008, 02:35 PM
  5. File List Script
    By Christopher in forum Scripts & 3rd Party Apps
    Replies: 3
    Last Post: 04-25-2007, 04:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers