Jump to content

Recommended Posts

Posted

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

Posted
SecFilterEngine Off

SecFilterScanPOST 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.

Posted
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?

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...