Perl Script Adjustment: Zero Results Handling

Cerrado Publicado la semana pasada Pagado a la entrega
Cerrado Pagado a la entrega

I have a Perl script that searches a CVS file and generates HTML. When this script has zero results, it currently displays a page stating "SORRY there are no RESULTS". I need this behaviour to change: instead of generating a custom error message, I want the script to send a 404 call to the Apache server.

Key Requirements:

- Modify the Perl script to send a 404 call to the server when no results are found.

- Implement a custom error message to be displayed on the 404 error page.

Additional Details:

- No logging of details of 404 errors is required for monitoring or debugging purposes.

- The script should still function as normal when results are found, only altering its behaviour when no matches are found.

- The ideal candidate for this project should have experience with Perl, CVS files, HTML generation and Apache server interactions. A good understanding of HTTP status codes, particularly 404, is necessary.

HTML Perl

Nº del proyecto: #38059464

Sobre el proyecto

6 propuestas Proyecto remoto Activo la semana pasada