Mobile app version of vmapp.org
Login or Join
Sue5673885

: Receiving error 500 for WordPress when using CloudFlare as a CDN My WordPress site is using CloudFlare as a CDN, and if I use the site's IP address to access wordpress/wp-admin/install.php directly,

@Sue5673885

Posted in: #Cdn #Cloudflare #Php #Wordpress

My WordPress site is using CloudFlare as a CDN, and if I use the site's IP address to access wordpress/wp-admin/install.php directly, it works fine.

However, when I try to call wordpress/wp-admin/install.php using my site's domain with CloudFlare, it always reports a "500 Internal Server Error".

I uploaded all my WordPress files to wordpress/, and tried everything given in this tutorial: How to Fix the Internal Server Error in WordPress, such as:


Checking for Corrupt .htaccess File
Increasing the PHP Memory Limit
Deactivate all Plugins
Re-uploading Core Files


But received the same error. The link above says:

If increasing the PHP memory limit did not fix the issue for you, then you are in for some hard-core trouble shooting.

The error log has:

[Mon Jan 26 00:26:16.850503 2015] [fcgid:warn]
[pid 8162] (104)Connection reset by peer: [client 173.245.48.159:53072]
mod_fcgid: error reading data from FastCGI server

[Mon Jan 26 00:26:16.850625 2015] [core:error]
[pid 8162] [client 173.245.48.159:53072]
End of script output before headers: install.php


Does anyone know how to solve this issue with accessing WorldPress behind CloudFlare?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Sue5673885

1 Comments

Sorted by latest first Latest Oldest Best

 

@Ann8826881

As covered here, create a Page Rule for URLs containing the wp-admin and wp-login directories to prevent CloudFlare from caching them.

Also, disable Rocket Loader, as it may inadvertently break certain functions (editors, etc.) in your WordPress back end.

Also try changing these other settings in your CloudFlare account under Performance Settings:


Performance profile -> CDN only
Caching level -> Basic
Auto Minify (Web optimization) -> (Disable all for now)


Lastly, make sure that none of CloudFlare’s IP ranges are blocked by your server (e.g., Apache .htaccess, security modules, or firewall), as covered in number 5 here.

Once you get things accessible, as with just using your IP address alone (i.e., bypassing CloudFlare's proxy), then you can try re-enabling each of the above settings until the error is reproduced, and leave just that setting disabled.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme