“File does not exist” in apache error log when mod_rewrite is using
Posted
by
Nithin
on Pro Webmasters
See other posts from Pro Webmasters
or by Nithin
Published on 2013-01-25T06:18:25Z
Indexed on
2013/06/30
16:28 UTC
Read the original article
Hit count: 1153
I am getting below error in server log, when re-writing the urls.
[Fri Jan 25 11:32:57 2013] [error] [client ***IP***] File does not exist: /home/testserver/public_html/testing/flats-in-delhi-for-sale, referer: http://domain.in/testing/flats-in-delhi-for-sale/
I searched very where, but not found any solution !
My .htaccess config is given below:
Options +FollowSymLinks
Options All -Indexes
ErrorDocument 404 http://domain.in/testing/404.php
RewriteEngine On
#Category Link
RewriteRule ^([a-zA-Z]+)-in-([a-zA-Z]+)-([a-zA-Z-]+)/?$ view-category.php?type=$1&dis=$2&cat=$3 [NC,L]
#Single Property Link
RewriteRule ^([a-zA-Z]+)-in-([a-zA-Z]+)-([a-zA-Z-]+)/([a-zA-Z0-9-]+)/?$ view-property.php?type=$1&district=$2&category=$3&title_alias=$4 [NC,L]
I also found similar old dated question, but no answer :( (http://webmasters.stackexchange.com/questions/16606/file-does-not-exist-in-apache-error-log)
Thanks in advance for your help.
PS: My site is working fine even Apache log is showing the error
- Nithin
© Pro Webmasters or respective owner