Recently copied a Perl script to a new server since old one is no longer in compliance. When I run the script on the old server, it creates a text file, aka trigger file, which is used by IBM Workload Scheduler to start processing a particular job. Depending on the trigger file, IWS determines which job should run. I copied the directory structure on the new server, made the IIS entries on the new server match what is on the old server, but when I try to create the triggers, I get the 404 Resource not found error, with no further information as to what resource it is specifically missing.
#!/usr/bin/perl -w use CGI; print "Content-type: text/html\n\n"; print "<html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"tex +t/html; charset=iso-8859-1\" />\n"; print "<link rel=\"stylesheet\" href=\"http://pctldocs/doc_style.css\" + type=\"text/css\" />\n"; print "<title>Trigger Result</title>\n</head>\n"; print "<body>\n"; print "Result:<br />"; my @query = split(/=/, $ENV{'QUERY_STRING'}); my $term = $query[$#query]; my $file = 'd:\\apps\\AETrigger\\' . $term . '.txt'; if (open (FH, '>', $file)) { print "Trigger for $term ($query[0]) has been created."; } else { print "Error creating trigger; please contact support."; } print "</body>\n</html>";
In reply to Resource Not Found error by StorminN61
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |