Block POST requests on websites using .htaccess
- No Comments
- Nov, 05, 2016
- Angelo Schalley
- joomla, Linux, Plesk Linux
That block will only prevent POST requests from hosts other than 127.0.0.1, and you will get a 403 Forbidden response:
RewriteCond %{REQUEST_METHOD} POST
# allow the server to POST to itself
RewriteCond %{REMOTE_ADDR} !127.0.0.1
Read more on Block POST requests on websites using .htaccess…
joomla version 3 error mod_fcgid: stderr: PHP Warning: preg_replace_callback(): Requires argument 2, ”, to be a valid callback
- No Comments
- Nov, 16, 2013
- Angelo Schalley
- joomla, Plesk Linux
mod_fcgid: stderr: PHP Warning: preg_replace_callback(): Requires argument 2, ”, to be a valid callback in /var/www/vhosts/domain.com/httpdocs/new/libraries/joomla/filter/input.php on line 712, referer: http://www.domain.com/new/installation/index.php#
mod_fcgid: stderr: PHP Warning: preg_replace_callback(): Requires argument 2, ”, to be a valid callback in /var/www/vhosts/domain.com/httpdocs/new/libraries/joomla/filter/input.php on line 719, referer: http://www.domain.com/new/installation/index.php#
Make a php info test file on your webserver
- No Comments
- Mar, 12, 2011
- Angelo Schalley
- html / php, IIS, joomla, Linux, Plesk Linux, Plesk Windows
put a file in your websites root directory or a in some folder :
info.php :
<?php
phpinfo();
?>
save and give execute writes : chmod +x