Whenever you are trying to upload an image using the flash uploader in Wordpress and received a “HTTP error”? and uploading images status stuck in crunching ……..
Here solutions::
The problem has something to do with mod_security, which is basically a web application firewall that protects your website from a range of attacks. So you shouldn’t turn off this module as it protects your site from such malicious attack , You can add a special rule in .htaccess file which can be found in the root folder of your Wordpress installation to get work the flash uploader.
Open the .htaccess file in your website document root and add the following lines:
- For Apache 1.X
<IfModule mod_security.c>
<Files async-upload.php>
SecFilterEngine Off
SecFilterScanPOST Off
</Files>
</IfModule>
- For Apache 2.X
<IfModule mod_security2.c>
<Files async-upload.php>
SecRuleEngine Off
SecAuditEngine Off
</Files>
</IfModule>
Then try to upload the images it should be work like charm D:
Cpanel Server Flash Uploader, HTTP Error, Wordpress
Have you thought of hiding what you are doing on your linux bash shell prompt? and not allowing your colleague to see what command you are entering or do you want to confuse your colleague by showing something invisible but work as visible? then read out this…
Today I came across a neat, but pointless shell command. By running the following in shell, it will hide any commands you run.
root@server2 [/]# stty -echo
In order to disable this mode, simply remove the “-” before echo.
root@server2 [/]# stty echo
I guess there really is no point to the command, though you could always mess with your coworkers if they leave their shell prompt open
Cheers.
Shell Scripts shell, stty
Hello,
If you having trouble compiling any application manually using “configure” , here simple fix for this error.
Error ::
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
Solution::
Regards
AlexP
Dedicated Server /lib/cpp, error: C++ preprocessor "/lib/cpp" fails sanity check
Recent Comments