Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8132011
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T09:14:26+00:00 2026-06-06T09:14:26+00:00

My page showing error forbidden access error, when I post some html and javascript

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T09:14:28+00:00Added an answer on June 6, 2026 at 9:14 am

    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_ENABLE environment variable to On or Off. You can use SetEnvIf to match against a number of things including the Request_URI:

    SetEnvIf Request_URI your_page\.php$ MODSEC_ENABLE=Off
    

    Or a number of pages:

    SetEnvIf Request_URI ^/directory/file.*\.php$ MODSEC_ENABLE=Off
    

    Or if you need to do something more complicated, like matching against a query string, using mod_rewrite:

    RewriteEngine On
    RewriteCond %{QUERY_STRING} example_param=example_value [NC]
    RewriteRule ^path/your_file\.php$ - [E=MODSEC_ENABLE:Off]
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a page which is showing a javascript error in IE, stating which
I am showing Custom Error in my page.. if somehting happend wrong. but if
I'm getting very weird error on the page on every other refresh but NOT
After logged in successfully, Yii does not executing any page. Showing an error: Error
A web page of a web application was showing a strange error. I regressively
When showing data from a mysql table on an php page does it have
I added a regex validator but its not showing anything on the page, basically
i place the onClick event in asp buttons. but it is showing error like
We've just brought up a new ASP.NET page that is showing a strange error.
We receive (#4) Application request limit reached error when a page is showing the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.