我正在制定这个wordpress解决scheme,并为了“节食”的原因,我正在进入阿尔卑斯山的形象。 在这个我设法使用外部configuration( 文件 )和通过卷我把它传递到nginx。 server { listen 80; root /var/www/html; index index.php; location / { try_files $uri $uri/ /index.php; } location ~ .php{ try_files $uri =404; fastcgi_pass wordpress:9000; fastcgi_index index.php; include fastcgi_params; fastcgi_param GATEWAY_INTERFACE CGI/1.1; fastcgi_param SERVER_SOFTWARE nginx; fastcgi_param QUERY_STRING $query_string; fastcgi_param REQUEST_METHOD $request_method; fastcgi_param CONTENT_TYPE $content_type; fastcgi_param CONTENT_LENGTH $content_length; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param SCRIPT_NAME […]
我在运行Wordpress 4.8多站点的GCP虚拟机实例上使用Apache 2,同时也使用CLOUD CDN,最近我开始面临CPU使用率上涨的问题,但是我的内存工作正常,并且有空闲的内存。 约15gig。 我已经尽可能检查,但找不到根本原因。 如果有人在这些问题上有任何经验或怀疑这个问题的任何可能的原因。 请提供您的答案,善待,谢谢。
我有我的服务器托pipeWordpress网站上安装mod_security(apache2)。 当我试图通过从磁盘上传一个.zip文件来安装一个插件时,它会失败,并在日志中出现403 Forbidden和“Multipart parser detected a possible unmatched boundary”。 在我的configuration中,这个规则是在/etc/modsecurity/modsecurity.conf第82行,规则#200003中定义的。 我试图在REQUEST-900-EXCLUSION-RULES-BEFORE-CRS.conf中禁用它,但它不起作用。 在/etc/modsecurity/modsecurity.conf中禁用它是否安全? 为什么排除规则不起作用?
我正在尝试使用腻子在WordPress中运行下面的PHP文件。 php-cgi -f info.php 但是这个命令会抛出这个错误的未定义索引:SCRIPT_NAME。 服务器设置: #fastcgi_param HTTPS $fastcgi_https; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; 请帮我解决这个问题。
我们的Wordpress网站目前的服务器响应时间非常慢, 它通常在10-12秒内返回。 网站上的其他所有内容都进行了优化,直到最近它才返回了98的Google网页速度洞察分数。 这听起来像主机给我的问题(特别是直到最近运行良好)。 还有什么可能吗?
我正在build立一个WordPress的子域的过程中。 我得到了一个404错误,我的nginxconfiguration。 目前使用PHP版本:7.0.22,没有得到任何错误的PHP日志,但我在nginx /var/log/nginx/error.log *1 open() "/usr/share/nginx/html/50x.html" failed (2: No such file or directory), client: xxx.xxx.xxx.xxx, server: kb.workspire.io, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php7-fpm.sock", host: "kb.workspire.io" 这是我目前的服务器块 /etc/nginx/sites-available/kb.workspire.io server { listen 80 server_name kb.workspire.io; root /var/www/kb.workspire.io/wordpress; index index.php; location / { #try_files $uri $uri/ =404; try_files $uri $uri/ /index.php?q=$uri&$args; } listen 443 ssl; error_page 404 […]
我在我的服务器上使用nginx。 现在我试图让ip访问xmlrpc.php文件在wordpress nginx.conf文件中使用下面的代码。 location = /xmlrpc.php { allow XXX.XXX.XXX.XX; #example ip deny all; access_log off; log_not_found off; } 但是这仍然不起作用。 你可以请检查我在上面做错了什么
我用cloudformation创buildwordpress博客,然后从godaddy网站买了一个域名,并把它转发到cloudformation提供的域名。 – > godaddy域名:yetanotherdeveloper.in – > cloudformation域名:“ec2-35-154-134-194.ap-south-1.compute.amazonaws.com/wordpress/” 问题1:当我在URL中searchgodaddy域名时,我到达了该站点,但是在URL中只显示了cloudformation域名。我想让godaddy域名在那里。 当我打开一个post,在URL中的斜杠之前,显示了cloudformation域(例如。ec2-35-154-134-194.ap-south-1.compute.amazonaws.com/wordpress/index.php** / 2017/09/27 / hello-world / **)。我想让godaddy域名在那里,方便他人访问。 问题2:Cloudformation使用一个公共的IP,如果服务器出现故障,将来可能是危险的。所以,我想把IP改成弹性IP。 谢谢!
正如在接下来的文章中所说的那样:使用wordpress的克隆服务器的wp-admin正在login原始服务器的IP地址。 服务器A – 原始内容。 IP地址1服务器B – 服务器的克隆版本A. IP地址2服务器C – 服务器的克隆版本B. IP地址3 当我运行:IP地址1.我得到WP网站与LAMPTESTv3 IP地址2.我WP网站与LAMPTEST IP地址3.我WP网站与LAMPTEST 但是,当我运行:IP地址2 / wp-admin,我得到IP地址1 / wp-admin IP地址3 / wp-admin,我得到IP地址1 / wp-admin 任何洞察到我将更改服务器B和/或C上的pipe理文件的位置,以便wp-admin是服务器B IP地址/ wp-admin而不是服务器IP地址/ wp-admin。 和C.一样 谢谢你的帮助。 Kahiga
我正在与本地服务器(wampserver)的WordPress的网站上工作。 它工作得很好2天前,但现在当我试图login到我的本地服务器,我得到一个“内部服务器错误”。 所以我检查了Apache服务器错误日志,因为他们说,我得到这个错误: [Sun Oct 15 16:47:04.071631 2017] [core:error] [pid 11808:tid 1872] [client 127.0.0.1:53175] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace. 我真的不知道是什么原因造成的。 我的本地主机工作得很好,但我现在在一个虚拟主机,这将返回500错误的工作。 也许问题出在我的httpd-vhosts.conf文件中? 这是我在那里得到的: <VirtualHost *:80> DocumentRoot "c:/wamp64/www" ServerName localhost ServerAlias localhost […]