Big Kahuna
11-24-2016, 06:50 PM
Wordfence and wordfence-waf.php
I use to have a Wordpress install on the MoparStyle site, but uninstalled and deleted when I upgraded to VB5. I had the Wordfence plugin installed.
That plugin installed a .user.ini, a wordfence-waf.php and modified my .htacess
i created a new .htaccess to redirect the sites root (formerly the Wordpress install) that has no reference to Wordfence.
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www.)?moparstyle.com$
RewriteCond %{REQUEST_URI} !^/forums/articles
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /forums/articles$1
RewriteCond %{HTTP_HOST} ^(www.)?moparstyle.com$
RewriteRule ^(/)?$ forums/articles [L]
#RewriteRule ^/?classifiedads/(.*)$ http://www.moparstyle.com/forums/forum/mopar-classified-ads$1 [R=301,L]
RedirectMatch 301 ^/classifiedads(.*)$ http://www.moparstyle.com/forums/forum/mopar-classified-ads
However, if I remove the ini or php file every url in domain gets me an Error 500 page. I'm figuring it must have an entry in the php.ini file, but I can't figure out how to access and modify with the limited Cpanel I have with O Addy hare hosting.
the .user.ini
; Wordfence WAF
auto_prepend_file = '/home/moparstyle/public_html/wordfence-waf.php'
; END Wordfence WAF
anyone know where I can find the php.ini file on shared hosting? There's no cPanel access, and I can't find it in my hosting'd php directory. I tried to change my php version, but that doesn't reset to a default php.ini
I use to have a Wordpress install on the MoparStyle site, but uninstalled and deleted when I upgraded to VB5. I had the Wordfence plugin installed.
That plugin installed a .user.ini, a wordfence-waf.php and modified my .htacess
i created a new .htaccess to redirect the sites root (formerly the Wordpress install) that has no reference to Wordfence.
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www.)?moparstyle.com$
RewriteCond %{REQUEST_URI} !^/forums/articles
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /forums/articles$1
RewriteCond %{HTTP_HOST} ^(www.)?moparstyle.com$
RewriteRule ^(/)?$ forums/articles [L]
#RewriteRule ^/?classifiedads/(.*)$ http://www.moparstyle.com/forums/forum/mopar-classified-ads$1 [R=301,L]
RedirectMatch 301 ^/classifiedads(.*)$ http://www.moparstyle.com/forums/forum/mopar-classified-ads
However, if I remove the ini or php file every url in domain gets me an Error 500 page. I'm figuring it must have an entry in the php.ini file, but I can't figure out how to access and modify with the limited Cpanel I have with O Addy hare hosting.
the .user.ini
; Wordfence WAF
auto_prepend_file = '/home/moparstyle/public_html/wordfence-waf.php'
; END Wordfence WAF
anyone know where I can find the php.ini file on shared hosting? There's no cPanel access, and I can't find it in my hosting'd php directory. I tried to change my php version, but that doesn't reset to a default php.ini