I have gone very carefully through my site html fiel and find no differences in the code. You will find it below.
I am virtualy hosted on Linux machines running Apache.
My web administraion system is called I think "Administrative Suite".
I used it to protect my admin directory as suggested in your documentation.
Could this have somehow protected my other files?
Here are the permissions for my WEBINDEX directory where I plan to build the pages.
drwxrwxrwx WEBINDEX
The permissions for the files:
-rw-r--r-- background.gif
-rwxr--r-- index.html
-rw-r--r-- links.css
Have a look and tell me what you think
Code:
-------------EXTRACT FROM SITE_HTML.PL-----------------
sub site_html_link {
# --------------------------------------------------------
# This routine is used to display what a link should look
# like. It's a little complex looking just because we have to
# check for blank entries..
my (%rec) = @_;
$build_detailed ?
($output = qq~<ul><li><a class="link" href="$build_detail_url/$rec{$db_key}$build_extension">$rec{'Title'}</a>~) :
($output = qq~<ul><li><a class="link" href="$build_jump_url?$db_key=$rec{$db_key}">$rec{'Title'}</a>~);
if ($rec{'Description'}) { $output .= qq~ <span class="descript">- $rec{'Description'}</span>\n~; }
if ($rec{'isNew'} eq "Yes") { $output .= qq~ <small><sup class="new">new</sup></small>~; }
if ($rec{'isPopular'} eq "Yes") { $output .= qq~ <small><sup class="pop">pop</sup></small>~; }
$output .= qq~ <small class="date">(Added: $rec{'Date'} Hits: $rec{'Hits'} Rating: $rec{'Rating'} Votes: $rec{'Votes'}) <a href="$build_rate_url?ID=$rec{'ID'}">Rate It</a></small>
</ul>
~;
return $output;
}
##########################################################
## Home Page ##
##########################################################
sub site_html_home {
# --------------------------------------------------------
# This routine will build a home page. It is not meant to have any
# links on it, only subcategories.
#
# $category : The list of subcategories.
# $time : The current time.
# $date : The current date.
# $grand_total : The total number of links.
#
my ($output);
$output = qq~
<$dtd>
<html>
<head>
<title>$site_title</title>
<meta name="description" content="put your description here">
<meta name="keywords" content="put your keywords here">
<$css>
</head>
<$site_body>
<h1 class="home">$site_title</h1>
$site_menu
<p>Site description</p>
<h2>Categories:</h2>
$category
<p class="grandtotal">There are <strong>$grand_total</strong> links for you to choose from!</p>
$site_search
$site_footer
</body>
</html>
~;
return $output;
}