Timeline for How to I get my server to autoload my index.html?
Current License: CC BY-SA 2.5
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 5, 2011 at 13:27 | comment | added | jon2512chua | Yup it works now thanks JP19. Oh and thanks for the tip too Piers. :) | |
Jan 5, 2011 at 13:24 | vote | accept | jon2512chua | ||
Jan 5, 2011 at 10:39 | comment | added | Piers Karsenbarg |
It also might be worth adding Options -Indexes so that it doesn't show up the directory listing
|
|
Jan 5, 2011 at 9:13 | comment | added | JP19 |
Upload a file called .htaccess in the root directory with that line DirectoryIndex index.html . Note that: AllowOverride must be set to yes in the apache configuration file. If it is not, then you will have to ask the client to do one of the following 1) Put the DirectoryIndex line in the apache config and restart apache himself. 2) Atleast set AllowOverride appropriately. But first, try uploading the .htaccess file to see if it works for you
|
|
Jan 5, 2011 at 8:24 | comment | added | jon2512chua | Oh and I don't exactly have full control of the server. I'm just given the storage space, I can't touch anything else. | |
Jan 5, 2011 at 8:17 | comment | added | jon2512chua | Sorry if I'm being obtuse but how exactly do you do that? | |
Jan 5, 2011 at 6:21 | history | answered | JP19 | CC BY-SA 2.5 |