Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Making multiple requests to the server causes a 404 error after about 40-60 seconds. I am using JavaScript to request: example.com/test/location. Apache has mod_rewrite enabled that maps this to the file index.php. index.php waits for 10 seconds before returning 200. The JavaScript immediately requests again on return. Watching the Apache access.log I can see:

index.php 200
index.php 200
index.php 200
index.php 200
index.php 404

This makes no sense to me as the index.php file has not moved. Any ideas what is going on? Unfortunately this is hosting with CPanel so debugging is limited.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.