October 8, 200520 yr comment_1404 any one no howe to get the function header("HTTP/1.0 404 Not Found"); to work? Report
October 8, 200520 yr comment_1406 Moving this to the Programming Forum. Thanks. BTW: Dont understand what you mean? probably has to be used within a if and else statement. if this page is true, go, if false, 404 function ? Best Regards Olajide Olaolorun The Uniform Server Development Team Report
October 8, 200520 yr Author comment_1408 i mean when i try to use the function it does not work.all i get is a blank page when i should get a 404 document. Report
October 8, 200520 yr comment_1409 Probably because the Error Setting is not configured in Apache. You probably have to set it up. It default setting is Off. Can't you just use the easy way, 404.shtml and so on file? Best Regards Olajide Olaolorun The Uniform Server Development Team Report
October 9, 200520 yr comment_1413 Edit the httpd.conf file and turn the error codes on. Also must have the Error Files, or create yours. All that might not be necessary. Try creating a 404.shtml file in W:/www and test that function again.. Best Regards Olajide Olaolorun The Uniform Server Development Team Report
October 9, 200520 yr Author comment_1415 tryed craeting a 404.shtml and it does not load when i load a page which is not there. Report
October 9, 200520 yr comment_1416 Thats funny.. it does here.. tired it once.. i will give it a test as soon as i can Best Regards Olajide Olaolorun The Uniform Server Development Team Report
October 10, 200520 yr comment_1417 THere is also a way using .htaccess that you can set the error page. Report
October 10, 200520 yr comment_1419 Thats true, rather than editing the httpd.conf file you can put it in the .htaccess file. Best Regards Olajide Olaolorun The Uniform Server Development Team Report
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.