I have looked at the two links provided, however, I don't think they apply to my problem....
I think they do, they include everything from apache configuration to perl code, and they work
$ lwp-request http://localhost/perl/print404/junk <html><title>print404 says tough noogies</title> <body><h1>tough noogies</h1></body></html> $ lwp-request http://localhost/perl/print404?junk <html><title>print404 says tough noogies</title> <body><h1>tough noogies</h1></body></html> $ lwp-request http://localhost/perl/test404?junk <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /perl/test404 was not found on this server.</p> <hr> <address>Apache/2.0.54 (Win32) mod_ssl/2.0.54 OpenSSL/0.9.7g PHP/4.3.1 +1 mod_perl/2.0.1 Perl/v5.8.9 Server at localhost Port 80</address> </body></html> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /perl/test404 was not found on this server.</p> <hr> <address>Apache/2.0.54 (Win32) mod_ssl/2.0.54 OpenSSL/0.9.7g PHP/4.3.1 +1 mod_perl/2.0.1 Perl/v5.8.9 Server at localhost Port 80</address> </body></html>
In reply to Re^9: Set HTTP Status code
by Anonymous Monk
in thread Set HTTP Status code
by molybtek
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |