sstaubin Posted October 14, 2002 Posted October 14, 2002 Is there a reason the main page in catalog is called default.php? Can I rename it index.php to prevent "directory browsing" on my server?
Mooby Posted October 14, 2002 Posted October 14, 2002 rather than renaming the file and risk affecting the script: 1) contacting isp and asking them to parse default.php as the standard, alongside index.php OR 2) create a file called index.php, in which have the php redirect function, something like <?php header("Location: http://www.yourdomain.com/default.php"); ?> just make sure that you include the full url to the default.php file I think that is the correct code i am recently new to php, if that dont work have a look at www.php.net hth Matt
Recommended Posts
Archived
This topic is now archived and is closed to further replies.