My page showing error forbidden access error, when I post some html and javascript mixed data by other page post method .
but when I open that page directly its appears correctly without any error.
I know this is server security related issue when I am posting data.
As I searched I found the solution of Turn off mod_security in .htaccess file .
But I want to do this just for this page not for my complete website.
My hosing environment is shared.but I can edit my .htaccess file.
Take a look at some mod_security and .htaccess tricks. There’s a lot of different ways you can enable or disable mod_sceurity. The easiest may be to set the
MODSEC_ENABLEenvironment variable toOnorOff. You can use SetEnvIf to match against a number of things including theRequest_URI:Or a number of pages:
Or if you need to do something more complicated, like matching against a query string, using mod_rewrite: