Hi brayne,
The "403 Fobidden" error that the web server is retruning is not very helpful. It would be much better if we knew the real error message, which apache web server writes to its log file. Does Yahoo allow you to have access to the "error_log" file. If your sharing a web server and have your own virtual directory, the Yahoo web server might be configured to write error from your web site to your virtual directory. Check to see if you have access to the "error_log" file.
Perl can also be configured to return error messages to the browser screen. Although I don't think this will help your situation, you can use something like the following, modify for your purposes, in your scripts. Such caode as the following could be placed towards the top of each scipt.
#---------------- Begin Snip of code --------------
print qq~Content-type: text/html\n\n~;
use CGI
use CGI::Carp qw(fatalsToBrowser set_message);
sub BEGIN
{
sub handle_errors
{
my $msg = shift;
print qq
~
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>
<html lang="en">
<head>
<title>Software - Master (TM) Shopping Cart</title>\n
</head>
<body>
<center>
<TABLE
align = "center}"
cellspacing = "0"
cellpadding = "15"
BORDER = "5"
WIDTH = "90%"
style =
"
text-align : left;
color : white;
background-color : red;
font-family : Arial, Garamond, Times New Roman, serif;
font-size : 20px;
font-style : normal;
font-weight : 100;
"
>
<tbody>
<tr>
<td align="center">
Error
</td>
</tr>
<tr>
<td VALIGN="top">
<TABLE
align = "center}"
cellspacing = "0"
cellpadding = "15"
BORDER = "0"
WIDTH = "100%"
style =
"
text-align : left;
color : black;
background-color : white;
font-family : Arial, Garamond, Times New Roman, serif;
font-size : 20px;
font-style : normal;
font-weight : 100;
"
>
<tr>
<td>
Oh gosh, got an error:<br><br>
$msg
<br>
<br>
Please notify
<a href='mailto:lelandj\@mail.smvfp.com'>Leland Jackson, CPA</a>
and let him know.
<br>
<br>
</td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
</center>
</body>
</html>
~;
}
set_message( \&handle_errors );
}
#---------- End Snip of Code --------------
Can you access the script remotely to edit it. Sometime a script has a Windows End of Line, rather than a Unix End of Line, or vice versus. This can cause a scipts to fail, so if you edit the script on the Yahoo server, make sure your editor is set to save the script with the appropriate Unix or Windows end of line.
Regards,
LelandJ
Leland F. Jackson, CPA
Software - Master (TM)
Nothing Runs Like the Fox