Flash image uploader HTTP Error when using .htpasswd Auth
-
Hi folks,
I’ve implemented .htpasswd restrictions for *.php files under my wp-admin, however this broke the flash image uploader. Some time during “crunching” or downloading it simply stops with an “HTTP Error”.
Note that if I turn authentication off, everything is fine.
After googling, I have added some rules to the .htaccess under my wp-admin folder as follows, but they did not seem to help:
#BEGIN
<Files *.php>
AuthUserFile /mysitepath/.htpasswd
AuthName restricted
AuthType Basic
require user XXXXX
</Files><IfModule mod_security2.c>
<Files async-upload.php>
SecRuleEngine Off
SecAuditEngine Off
</Files>
</IfModule><IfModule mod_security.c>
<Files async-upload.php>
SecFilterEngine Off
SecFilterScanPOST Off
</Files>
</IfModule>
#ENDI put both apache 1 and 2 rules in there just trying everything. Im using Apache 2 if it matters.
Any ideas?
-d
- The topic ‘Flash image uploader HTTP Error when using .htpasswd Auth’ is closed to new replies.