Why cant I view my website directories?

Soldato
Joined
19 Dec 2003
Posts
3,105
Location
UK
Hi folks;

I have a main website already, and I simply use CuteFTP to upload files into the htdocs folder etc.


For example, if it was called www.sean.com

I could log in, make a folder called 'hello' and then go

www.sean.com/hello

and I can view what is in that folder in particular as a directory listing, rather than a webpage itself.


However;

I have a freeola account, with free userdomain etc so I thought i'd just use that for any odd pics etc

But I can't seem to get it to work like that, even in the htdocs folder.


It only displays a page if I have an index.html but what if I dont want that?

I only want to make folders and browse them as above...

Is it not possible?


Thanks,

Sean
 
.htaccess for the win.

Enabling Directory Listings

If you wish for Apache to automatically generate a directory listing, you need to explicitly enable that feature. You can do so with:

Options +Indexes

Be very careful that you do not put any unintentional files in this directory.

I think, anyway, I use the indexer by Celerondude. :)
 
SeanyK said:
Hi folks;

I have a main website already, and I simply use CuteFTP to upload files into the htdocs folder etc.


For example, if it was called www.sean.com

I could log in, make a folder called 'hello' and then go

www.sean.com/hello

and I can view what is in that folder in particular as a directory listing, rather than a webpage itself.


However;

I have a freeola account, with free userdomain etc so I thought i'd just use that for any odd pics etc

But I can't seem to get it to work like that, even in the htdocs folder.


It only displays a page if I have an index.html but what if I dont want that?

I only want to make folders and browse them as above...

Is it not possible?


Thanks,

Sean
Lots of free hosts wont let you do it as they don't want you using their free hosting as a simple file dump. :)
 
Back
Top Bottom