Opening pages in domains
Posted 23 August 2006 - 10:40 AM
Posted 23 August 2006 - 12:20 PM
Apache has a directive 'DirectoryIndex', wich determins wich file it accesses when a directory, not a file is requested. If none of the files specified in this directive are present, but the directory is accessible to the client, it renders a standard page, listing files and directories in that directory.
If you're using a file called 'index.php', it should be in this directive.
DirectoryIndex index.php index.html
Chances are however, your 'host.com' doesn't support php, as these free hosts usually don't.
If it does, and doesn't have index.php in the DirectoryIndex directive in httpd.conf, then you can redirect from an index.html.
You could use :
<meta http-equiv="refresh" content="0; URL=index.php" />
Posted 15 September 2006 - 02:37 PM
Posted 15 September 2006 - 04:05 PM
No I don't have kudos...but the other reply solved my problem. So I thank you both:)!
Darn, no kudo's? The both of me were so much looking forward to those.
Posted 15 September 2006 - 04:29 PM
So I thank the only one of you !
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users