View Single Post
  #17  
Old 08-21-2009, 10:22 PM
MikeDVB MikeDVB is offline
Senior Member
 
Join Date: Jul 2009
Posts: 218
Quote:
Originally Posted by mistwang View Post
You can grep for 408.shtml in /usr/local/apache/logs/error_log.
Your code code missing a "l" in tag "</htm>" at the end.
Actually it's intact on the server I simply didn't select the whole thing when I copied/pasted and then I added the ">" not noticing that it was missing an L as well.

Code:
-rw-r--r-- 1 transfer transfer   162 Aug 21 15:52 408tester.php
root@atlantis [/home/transfer/public_html]# cat 408tester.php
<html><head><meta http-equiv="refresh" content="30" /><title>408 Tester</title></head><body>408 Page Tester<br><?php echo date("D dS M,Y h:i a"); ?></body></html>root@atlantis [/home/transfer/public_html]#
As you can see from the above the file was last modified well before my post and you can see in the screen-shot the reason that I missed the l> was that the l> was put on the next line before the bash command line.

Trust me, the issues I am having are not due to my code

The 408 issue has disappeared since I did a forced restart of LSWS but I am still getting the occasional request to download the .php file instead of the server processing it (and yes, I'm getting the contents of the PHP file).
Reply With Quote