Support

Admin Tools

#11339 .htaccess changes break Uploadify

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by nicholas on Friday, 02 March 2012 16:48 CST

user56529
PHP Built on: Linux box747.bluehost.com 2.6.32-46.1.BHsmp #1 SMP Tue Sep 6 12:18:02 MDT 2011 x86_64
Database Version: 5.1.60-community-log
Database Collation: utf8_general_ci
PHP Version: 5.2.17
Web Server: Apache
Web Server to PHP interface: cgi-fcgi
Joomla! Version: Joomla! 1.5.22 Stable [ senu takaa ama woi ] 04-November-2010 18:00 GMT
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
Admin Tools version: 2.2.0

My app uses Uploadify (http://www.uploadify.com/about/) to do asynchronous file uploads (image files and such). Uploadify uses a SWF object to upload the file asynchronously.

This feature stops working when I install the Admin Tools Pro created .htaccess file.

Firebug is not showing any HTTP errors (as seen in the Net panel), but the Uploadify code generates an error when uploading the file. My guess is that the SWF object is uploading the file and Firebug can't see what is going on within it.

The Admin Tools Pro .htaccess file is somehow restricting what Uploadify is trying to do.

Any ideas? How can I further debug this to assist you?

Allan



nicholas
Akeeba Staff
Manager
I believe you have to disable the "Protect against common file injection attacks" option in .htaccess Maker.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user56529
I already have "Protect against common file injection attacks" turned off.

Any other ideas? Suggestions for how to see the HTTP requests the SWF object is making?

nicholas
Akeeba Staff
Manager
Most likely it's trying to call a PHP file directly. Even though you won't see it in the net panel of any browser debugging tool (Adobe Flash files run inside their own sandbox process) the documentation of that thing should tell you which file is being called so that you can add it in .htaccess Maker's exceptions list.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user56529
The problem file is uploadify/uploadify.php

Added that to the exception list solved the problem.

nicholas
Akeeba Staff
Manager
I'm glad it's working now!

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!