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

  • SEARCH
  • Home
  • 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 7819251
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T06:51:55+00:00 2026-06-02T06:51:55+00:00

When submiting a $_POST[‘form’] I’ll get a timeout error if idle for more than

  • 0

When submiting a $_POST[‘form’] I’ll get a timeout error if idle for more than 8 or 9 minutes; it always changes. This is the screen shot of the error:

enter image description here

This is what I got in the error logs:

[Sat Apr 21 20:15:00 2012] [error] [client .......] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.

It can’t be my scripting. It’s a pretty standard form. Also, I’m getting this error on all 6 sites I have in shared hosting. Here’s my .htaccess file…

    Options +FollowSymLinks
    RewriteEngine On

    Options -Multiviews
    RewriteBase /

    RewriteRule ^([a-zA-Z0-9-]+/?)$ $1.php

    #edit forum question -- questions.php
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^edit/([a-zA-Z0-9-]+)/([a-zA-Z0-9-]+) edit.php?question_num=$1&question=$2 [NC]

    #edit forum question id -- questions.php
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^edit/([a-zA-Z0-9-]+) edit.php?question_num=$1 [NC]

    #usernames -- index.php
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^([a-zA-Z0-9-]+) index.php?post=$1 [NC]

The problem is site wide on any post form. If you wait to long to submit then this timeout error happens.

I don’t think it’s an issue with the php.ini. I’ve pretty much got everything covered in it:

register_globals = off
allow_url_fopen = off

expose_php = Off
max_input_time = 18000
max_execution_time = 18000

;extension_dir = ./
upload_tmp_dir = ./tmp

;precision = 12

session.cache_expire = 10080
session.cookie_lifetime = 200000
session.gc_maxlifetime = 10000

memory_limit = 100M
post_max_size = 100M
file_uploads = On
upload_max_filesize = 192M

After checking out the .htaccess file can you see any reason for what might cause this? Or, is it something completely different? I should also note that I’m using cookies and no session data.

  • 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-02T06:51:58+00:00Added an answer on June 2, 2026 at 6:51 am

    You need an L flag in your htaccess otherwise it just loops through them infinitely –

    # Important L flag! 
    RewriteRule ^([a-zA-Z0-9-]+/?)$ $1.php [L]
    
    #edit forum question -- questions.php
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^edit/([a-zA-Z0-9-]+)/([a-zA-Z0-9-]+) edit.php?question_num=$1&question=$2 [NC,L]
    
    #edit forum question id -- questions.php
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    # Important $ dollar sign next line - otherwise it matches above rule
    RewriteRule ^edit/([a-zA-Z0-9-]+)$ edit.php?question_num=$1 [NC,L]
    
    #usernames -- index.php
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^([a-zA-Z0-9-]+) index.php?post=$1 [NC,L]
    

    Without the L it rewrites the rule and loops through again after the rewrite (rewriting again).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So i'm submiting form with jquery to ifram like this $('.form').submit() here is my
Can anyone help with this strange form submiting in FireFox? So this form should
When submiting a form, I've got this traces in the logs Dec 06 14:43:23
I want to validate few inputs before submiting the form, i am doing this
When submitting a form to create a new object i get an error message
I would like to have my form do a Get rather than a Post
In my application am submiting my form by using post for a php page.
Upon submitting this form on my site. It send me to a page that
I'm doing this tutorial: http://www.phpeveryday.com/articles/Zend-Framework-Database-Creating-Input-Form-P494.html We are building a simple input form using POST
So as the title says i want to prevent user from keep submiting $_POST

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.