Approved: Fortect
In this guide, we will identify some possible causes that might prevent a quick detection or download failure, and then suggest possible solutions that you can try to resolve.
I am getting many of the following errors in my Apache error log:
[Error] [Client 127.0.0.1] Script ‘/var/www/html/wp-cron.php’ is not availablePossible or not valid for status
and I’m wondering if this works with my httpd.conf because the DocumentRoot is set to “/ var / www / html” but one or more WordPress sites are in the recognized httpdocs directory, not html. wp-cron.php does not exist, although it is in httpdocs and html, the html directory is not available. There are many WordPress sites and domains on IP and vps.
There are no other newspaper failures, so WordPress seems to be doing well. But I want to fix these errors because it increases the load on the server.
Is there a way to add a redirect or alias to httpd.conf so that wp-cron.php can be found? Or is it a different matter with a different solution?
Edit: Found the answer; Problem was host directory entries: host file entries for multiple zones on VPS?
Approved: Fortect
Fortect is the world's most popular and effective PC repair tool. It is trusted by millions of people to keep their systems running fast, smooth, and error-free. With its simple user interface and powerful scanning engine, Fortect quickly finds and fixes a broad range of Windows problems - from system instability and security issues to memory management and performance bottlenecks.
requested Sep 10 @ 7:17 pm
490
Are You Looking For Answers To Some Questions? Search The Many Questions Marked As Apache-2.2 Httpd, Also Called A Poll, Or Your Own Question.
DocumentRoot
in httpd.conf can be the default for all website hosts that are not managed by the virtual host. For example, requests to an IP address.
In fact, you can set the DocumentRoot
to match the default site (if you have the ability to prompt for an IP address), or you can use the RewriteRule
Switch to request to return to site number one in httpd.conf or in .htaccess
:
RewriteRule wp-cron.php http://yourdomainname.com/wp-cron.php [R = 301]
Without knowing what a script is and if it exists anywhere else, it is really difficult to give advice. Symbolic link a socan fix it easily, but permissions can get in your way.
630
helped 22 Sep 10 at 19:33
5.725
answered Oct 17, 2010 at 5:48 PM
490
Speed up your computer's performance now with this simple download.