Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 06-15-2005, 11:53 AM   #1 (permalink)
 
Newb Techie

Join Date: Jun 2005

Posts: 2

Antoshi

Question Help making index view?

Hi.

I'm trying to attempt a really simple task (at least it seems simple), but it's become incredibly difficult for me. I'm trying to make an index/directory page (like this one for example) but I'm stuck on how to do it. I've been told to upload my files, then erase/delete the index.html file, but that isn't helping.

I've also been told that some webservers don't have Auto-indexing in their configuration files. So, I would also need help finding one that does have auto-indexing.

Thanks!!
Antoshi is offline  
Old 06-15-2005, 10:24 PM   #2 (permalink)
 
Super Techie

Join Date: Feb 2005

Posts: 262

jinexile

Default

Its basically a web server config... some webservers allow people to view directories without a default page (such as index.html) some don't. The reasons are because its a potential security risk to have you files exposed... There are php options that can emulate this if you're unable to have your webserver configed to do this.
__________________
AMD Athlon 64 3000+ (Overclocked to 3300+)
ASUS K8V-Deluxe
1GB PC3200 DDR
2x200GB Seagate SATA RAID 0
BFG 6800GT OC w\\128MB Ram
2x 19\" Samsung 930B LCDs
jinexile is offline  
Old 06-16-2005, 12:15 AM   #3 (permalink)
 
Newb Techie

Join Date: Jun 2005

Posts: 2

Antoshi

Default

Well I don't own a webserver. I'm basically just using free webhosts. And I'm wondering if any of them have that feature.
Antoshi is offline  
Old 06-16-2005, 11:38 AM   #4 (permalink)
 
Super Techie

Join Date: Feb 2005

Posts: 262

jinexile

Default

I imagine most free webhosts disable this (as I said for security reasons).

This code may emulate what you are looking for however:

http://www.1337geek.com/code/php/filelist/
__________________
AMD Athlon 64 3000+ (Overclocked to 3300+)
ASUS K8V-Deluxe
1GB PC3200 DDR
2x200GB Seagate SATA RAID 0
BFG 6800GT OC w\\128MB Ram
2x 19\" Samsung 930B LCDs
jinexile is offline  
Old 06-16-2005, 11:49 AM   #5 (permalink)
 
Master Techie

Join Date: Jul 2004

Posts: 2,934

ShoobieRat

Default

Wait a minute...

Yer talking about yer index.html file, which is usually the root file of your site on a server (unless the host has the server setup to point to something else, like home.html, etc).

If you delete your index.html file, people going to your base URL, won't see a site. It'll either echo the directory, or blow up to a 40X message.
__________________

-----------------------------------------------
Don\'t hate the player...Hate the game...
ShoobieRat is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On