Toms Posted September 23, 2007 Report Share Posted September 23, 2007 Bet bez echo! html nav vajadzības laist caur php šajā gadījumā. Link to comment Share on other sites More sharing options...
Archa Posted September 23, 2007 Author Report Share Posted September 23, 2007 (edited) ja kr4 tad jaieliek 404.php šāds kods?? un folderi tas .htaccess?? vai ari uzstaisit ka index.php ar šādu tekstu un ielikt folderi, jo ieliekot to htaccess rada 403 forbidded erroru nevis 404 not found! <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>404 - Not Found</title> </head> <body> <h1>404 - Not Found</h1> </body> </html> P.S view page Source laba lieta :D Edited September 23, 2007 by Archa Link to comment Share on other sites More sharing options...
andrisp Posted September 23, 2007 Report Share Posted September 23, 2007 Nujā, biju domājis header("Location: sliktaa_juuzera_404_lapa.html"); vietā iztikt arheader("HTTP/1.0 404 Not Found"); un lai parādās sliktaa_juuzera_404_lapa.html Toms, var jau arī nosūtīt HTTP 404 un pēc tam uzreiz redirektēt. Link to comment Share on other sites More sharing options...
Recommended Posts