Jump to content

Odd Error Log Message


Recommended Posts

My error logs keep filling up with:


[sat Nov 17 22:24:25 2007] [error] [client] File does not exist: /home/myedit/public_html/index.html.*


Note the asterisk at the end of the line. Wild card?


I tried to do a redirect but that doesn't work.


What does the error mean and is there anything to be done about it?


Also it's coming from multiple IP addresses.



Ty :)

Link to comment
Share on other sites

Hi Andy,


I took that right from the error log in cpanel so there is no second part (??)


My htaccess is long. No actual redirects to a wildcard that I can tell

There is only one line in it that resembles this but I don't think that's it


RewriteCond %{HTTP_REFERER} !^http://www.mywebsite.com$ [NC]

RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ /index.html.* [R,NC]



The plot thickens........ :)

Link to comment
Share on other sites

Thanks for the replies :)


I wonder why that * is there........... Hmpf!


Today the second part is identical, all coming out of the same place. I'm not sure but I don't recall that being the case yesterday. Yesterday it was showing as errors.


I can't find an instance of the error today but I see a whole lot of:


74-xx=xx-175.dsl1.ekgv.ca.(blahblah)frontiernet.net - - [18/Nov/2007:10:03:15 -0500] "GET

/index.html/* HTTP/1.1" 301 256 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)"





74-xx-xx-175.dsl1.ekgv.ca.(blahblah)frontiernet.net - - [18/Nov/2007:10:02:48 -0500] "GET /index.html.* HTTP/1.1" 301 256 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)"


I'll remove the * but I still don't seem to understand what is happening here. :)



I can't get to yesterdays logs, I don't archive. They are way too large

Edited by boxturt
Link to comment
Share on other sites

The RewriteRules you listed look to be to prevent people from hotlinking images from your site. Anytime someone requests an image (files ending in jpg, jpeg, gif, png, bmp) that wasn't linked from your site, the RewriteRule is redirecting them to /index.html.* which obviously doesn't exist. That is triggering the original "file does not exist" error you were seeing in the cPanel error log.


The 301 in the raw log entries would seem to indicate that the request for /index.html.* was also redirected, but I'm not sure about that. Anyhow, removing the ".*" from the RewriteRule should fix it.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...