Determine virtualhost of error

Discussion in 'General' started by wanah, Nov 9, 2013.

  1. wanah

    wanah Member

    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 ?
  2. NiteWave

    NiteWave Administrator

    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.
  3. wanah

    wanah Member

    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.

Share This Page