Hi i'm a newbie in linux web hosting. I have trouble configuring my newly design web. I have putted it in /var/www/html but still it doesn't work. we have an existing webpage that is controlled by cgi scripts here's our website
www.dwcc.edu.ph. I just want my newly design interface for our school to be publish. .i'm not using cgi anymore for my new pages, i've tried everything but still it can't be read.
And also on the cgi script i tried to trick it by changing the code, goes something like this:
#!/usr/bin/perl
use CGI qw(:standard -no_xhtml :html3);
$q = new CGI;
print $q->header;
open(FH,"etc/dwcc.html");<---i change this with open(FH,"dwcc2/dwcc.html") just to trick it. but the output s***s.
while (<FH>) {
print $_;
if ($_ =~ /<!-- Dynamic Contents -->/) {
print "<table border=0 cellpadding=8 cellspacing=1><tr><td align=left valign=top width=\"655\">\n";
&get_contents;
print "</td></tr></table>\n";
}
}
PLease help me. All i want is my newly design page to be read. Thank you so much
Mark