Help with webpage uploading.

Soldato
Joined
26 Apr 2003
Posts
5,746
Location
West Midlands
How do I get my website to display an actual webpage rather than a list of all the files as seen in the image below.
 
have you got a file in there called index.html? your web server will always be configured to seach for a file called default, home or index. if you don't have a file by that name in there (either with the .html, php, asp whatever, file extension), it won't display a page unless to type that particular url in the address bar.

i can't see that picture properly...imageshack was being a bit weird
 
Sic is correct, rename whatever HTML file you consider as your homepage to "index.html" or "index.htm"
 
Note that when you're stealing the glory, the trick is to ensure that you always use a technical or factual reference so that your ingeniously disguised spam isn't easily noticed, providing the benefits of both looking clever and additionally gaining +1 to your postcount.
Code:
Post Reply > Google Search > Submit Reply = PC+1
References: Wikipedia, Google, General Discussion

Hey, It's a slow day. Looking for posts I can reply in and deciding what music to play next currently constitutes my workload. Woo! :cool:
 
Can I join in!!

The Apache Options Indexes directive is what controls the showing of directory listings when no file from DirectoryIndex is found.

So you can create a .htaccess file and put "Options -Indexes" to disable this feature, meaning no need for an index file! Whoo!

(Handy trick to use if you have lots of directories with images and so on and would rather they remain not-obviously-visible) :)
 
Back
Top Bottom