Determine virtualhost of error

wanah

Well-Known Member
#1
Hello,

I've got an error that keeps comming up, an issue with a .htaccess file but the logs don't say what virtualhost it's on.

The error is :

2013-11-09 09:39:21.975 [ERROR] [Rewrite] '$' should be followed by a digit for a RewriteRule backreference. while parsing: RewriteRule ^(.*) $index.php [F,L]

How can I find what domain/virtualhost has got this error ?
 

NiteWave

Administrator
#2
a WHM/cPanel server ? so the error only in /usr/local/apache/logs/error_log?

some errors in this file with "APVH_" in it, so you can know which virtual host.
 

wanah

Well-Known Member
#3
Yes that's the file. The errors in question don't specify the virtualhost and don't have APVH_ so it's complicated to find what. Htaccess has got the bad rewrite rule.
 
Top