does your host support php ?
If (so add a index.php file to the folder and use) then
PHP Code:
<?php
header('HTTP/1.1 301 Moved Permanently');
header(Location: /path/page_to_display.ext);
exit;
?>
else if (you don't care about the folder appearing in the SE index) then
PHP Code:
<?php
include("/path/page_to_display.ext");
?>
else if (No PHP but SSI) then
add a index.shtm(l) to the folder with
HTML Code:
<!--#include virtual="/path/page_to_display.ext" -->
end if
(a select case would have been a better construct though  )
You may need to add a line to .htaccess of
Code:
DirectoryIndex index.php index.shtm index.shtml
and if SSI isn't enabled use these lines to set it on.
Code:
AddType text/html .html .shtm .shtml
AddHandler server-parsed .html .shtm .shtml
you can also turn OFF the directory listings with
Code:
<Directory /path/folder/>
Options -Indexes
</Directory>
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
|