New answers tagged

0

For WordPress, you need to add the following item in WordPress config: define('WP_HOME', 'https://example.com`); define('WP_SITEURL', 'https://example.com'); This will let WordPress know what is the URL you use in the browser to access the site. Replace example.com with your domain name. For PHPMyAdmin, try removing everything else than proxy_pass in your ...


0

Your requirements are quite unusual. You can try this one: server { ... root /path/to/httpdocs; # serve any request starting with `/rest` with the following location location ^~ /rest { try_files $uri $uri/ /rest/index.php$is_args$args; location ~ \.php$ { try_files $uri =404; include fastcgi_params; ...


1

The answer, as with many things CentOS, is found in SELinux! While the apache user is able to open network connections, the httpd process (regardless of which user it's running as) isn't by default. The setting that controls it is httpd_can_network_connect, which can be set with setsebool -P httpd_can_network_connect 1 Thanks to this question for helping me ...


1

As Tim advised on his comment, you will need to investigate your VM further. You said that you are getting a DB Connection error, you can start there and identify first its root cause. Also, recommendations are just suggestions based on the performance of your VM. As stated in the GCP documentation: Note: You might have valid reasons for running a ...


-1

There are several factors to occur this issue on Wordpress with GoDaddy. If you are a tech guy you first need to check logs that where the problem occurs. try some of the basic techniques to resolve this issue such as clear browser cache, changes web browser, increase PHP limit & review you .htaccess file. Or you can try some of the below references that ...


0

This is not about web browsers nor file permissions, but about false positive detections by the ModSecurity Web Application Firewall (WAF). I've just added line breaks to make it more readable: ModSecurity: Access denied with code 403 (phase 2). Pattern match "([\\\\~\\\\!\\\\@\\\\#\\\\$\\\\%\\\\^\\\\&\\\\*\\\\(\\\\)\\\\-\\\\+\\\\=\\\\{\\\\}\\\\[\\\...


0

RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L] These directives can trigger a rewrite-loop (on some server configs*1) if making a request of the form /subdirectory/wp-content/foo (/subdirectory is optional) where /wp-content/foo does not exist. The purpose of these directives is to ...


Top 50 recent answers are included