Apache dir:error setting document root

We are getting almost constant errors in the apache logs:

[dir:error] [client xxx.xx.xxx.xx:xxxxxx] Inside mod_dir, setting document_root to PARENT_DOCUMENT_ROOT : /var/chroot/home/content/81/9879881/html, referer http://xxxxxxxxx.com/index.php?dispatch=products.view&product_id=1675

The symptom is that after a visitor clicks anywhere from 4 to 10 links in the store, whether products or pages, they get “The connection was reset” error. If they clcik the back button the previous page comes up fine. Then a few more clicks to other products and they get the same reset error.

We thought it might be an htaccess misconfiguration but we have checked the file and even renamed the htaccess file to take it out of the config. Same results.

The host is godaddy and we have seen posts on other sites that this is a server specific config problem with their hosts.


php version 5.3.24

SERVER DOCUMENT ROOT /var/chroot/home/content/81/9879881/html


Turned off the statistics add-on solved the problem.

You fixed a symptom, not a cause. Your Go Daddy site can't handle an e-commerce application so it was failing. You have masked the problem by turning off statistics which cuts down on the number of ajax requests and db accesses, but it is NOT the root cause of your problem.

The problem lies in your hosting solution.