Hello everyone,
I have done a fresh installation of Debian 11.1 and myvestacp on my OVH vps ( before I was on debian 8 with php 5.6 and Vestacp ). I imported all website datas and settings from my previous vestacp backups.
1/ since then I have some issues with wordpress plugins, I had deactivated them for the moment...
WP Hide & Security Enhancer: rewrite function (theme, plugins...) break my website
Wordfence Security: Optimize Wordfence Firewall > Apache + CGI/FastCGI (recommended based on our tests) > The changes have not yet taken effect. If you are using LiteSpeed or IIS as your web server or CGI/FastCGI interface, you may need to wait a few minutes for the changes to take effect since the configuration files are sometimes cached. You also may need to select a different server configuration in order to complete this step, but wait for a few minutes before trying. You can try refreshing this page.
I may have forgotten to configure something during the fresh installation? Maybe both issues are related?
2/ Also I cannot log in to my email address on my email client ( but on roundcube webmail I can send and receive mails ). The problematic domain name is installed on an additional IP.
Should I use the recommended server or domain hostname settings ? Admin can you do a tutorial about email configuration ?
Thank you
Wordpress plugin issues + mail
- myVesta
- Site Admin
- Posts: 932
- Joined: Fri Jun 19, 2020 9:59 am
- Has thanked: 8 times
- Been thanked: 6 times
1. wp-hide - it's not related to myVesta, it's probably due jump to php7.4
2. not sure, never used wordfence
3. it's just info table, use server hostname and make sure you generated SSL for server hostname WEB
2. not sure, never used wordfence
3. it's just info table, use server hostname and make sure you generated SSL for server hostname WEB
I just got an answer from the plugin team regarding my wordpress plugin issues, it seems to be from the double slashes before the home directory that prevent the .user.ini server configuration file
$_SERVER[‘SCRIPT_FILENAME’]: //home/xxxxx/public_html/wp-admin/admin-ajax.php
Do you know how to fix this issue on the server?
Thanks
$_SERVER[‘SCRIPT_FILENAME’]: //home/xxxxx/public_html/wp-admin/admin-ajax.php
Do you know how to fix this issue on the server?
Thanks
I've installed myvesta on another server and I get the same issues with wordpress plugins... I see you have disabled some PHP functions for security on myvesta that is why maybe the plugin was working fine on vestacp and not on myvesta ?
May be related to "mode_rewrite" or "AllowOverride" ?
May be related to "mode_rewrite" or "AllowOverride" ?
Last edited by Coquelish on Fri Oct 22, 2021 1:59 pm, edited 1 time in total.
I tried another rewrite plugin (WP Ghost Lite) on the default wordpress theme and I have the same problem ... when I look into the source code, the redirects are present, but all redirects ( css, js, jpg ...etc ) return to a Vesta 404 error that's why the website is broken. So it looks like server configuration issues.
Do you know how to fix this issue for all the vesta accounts ? Thanks
Do you know how to fix this issue for all the vesta accounts ? Thanks
Thanks this solved my rewrite issues
However I still have the same issue with the Firewall plugin.
Last edited by Coquelish on Wed Nov 10, 2021 8:04 am, edited 1 time in total.
The issue was from auto_prepend_file
The .user.ini is not working on my server, do you know how to enable it for all my websites ?
For the moment I found the solution by adding the code
Code: Select all
php_admin_value[auto_prepend_file] = /home/user/web/example.com/public_html/wordfence-waf.php
Code: Select all
/etc/php/7.4/fpm/pool/example.com.conf