kapstan Posted May 21, 2008 Posted May 21, 2008 Hi, I am attempting to create a subdomain "services.designforum.com" which will redirect to "http://www.designforum.com/df_services_dev." So far I've been unable to get this to work. CPanel will state that there is an error in my .htaccess file for the following lines: SecFilterEngine Off SecFilterScanPOST Off However, these lines are absolutely necessary to be in the /df_services_dev directory's .htaccess so a flash file uploader component will function properly. Otherwise it cannot save files and the server returns an HTTP 406 code. Any help? I can't get this thing to work.. I've been dealing with support on this and so far have had no luck. Just wanted to see if anyone else had some ideas about anything else I could try... i know the lines in that .htaccess are disabling a component of mod_security... is that the only thing that may be causing this error? Thanks in advance! -Ian Quote
MikeJ Posted May 21, 2008 Posted May 21, 2008 SecFilterEngine OffSecFilterScanPOST Off These functions are no longer supported in mod_security. You will need to open a help desk ticket and explain what you want to do and see if they will disable mod_security for your account for you or not. Quote
kapstan Posted May 21, 2008 Author Posted May 21, 2008 Mike, Thanks for the reply. Can you disable mod_security on a per-directory basis? Quote
kapstan Posted May 21, 2008 Author Posted May 21, 2008 These functions are no longer supported in mod_security. You will need to open a help desk ticket and explain what you want to do and see if they will disable mod_security for your account for you or not. furthermore... since the lines in the .htaccess are required because of the way the ActionScript class FileReference handles placing the files.. .is there a workaround for this in Flash/Actionscript vs. completely disabling mod_security? I tried just turning off POST Scanning.. but it still dispatches that httpStatus 406... this is frustrating... i completely agree with TCH not wanting me to have mod_security disabled.. but i don't know what else to do to get this app to work... anyone with ActionScript experience willing to take a look? Quote
MikeJ Posted May 21, 2008 Posted May 21, 2008 mod_security can be modified/disabled per directory in Apache (the webserver), but not in .htaccess anymore, hence the need for the helpdesk ticket. this is frustrating... i completely agree with TCH not wanting me to have mod_security disabled.. but i don't know what else to do to get this app to work... anyone with ActionScript experience willing to take a look? Indeed it is more secure this way, but this wasn't even TCH's choice or policy change, but rather the software used, mod_security, changed the way it works and disabled .htaccess functionality in there newer releases. Unfortunately I don't have much experience with flash uploaders or actionscript so I don't currently have a better answer. Quote
kapstan Posted May 22, 2008 Author Posted May 22, 2008 no worries. thanks for the help you've provided! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.