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 6167969
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T22:36:19+00:00 2026-05-23T22:36:19+00:00

I have this rewriterule: RewriteRule ^authenticate /id/authenticate.php [NS,QSA] I am getting this error: [Sat

  • 0

I have this rewriterule:

RewriteRule ^authenticate   /id/authenticate.php [NS,QSA]

I am getting this error:

[Sat Jul 23 05:12:37 2011] [error] [client 62.178.15.161] 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., referer:
https://2x.to/id/authenticate

I thought the NS flag should prevent this from happening.

Is it not working for some reason, did I not apply it correct or did I misunderstand its purpose?

Is there another way to make this rewriterule “work” without renaming the file?

Edit:

I adapted the RewriteRule to:

RewriteRule ^authenticate$  /id/authenticate.php [QSA]

which works just fine. However I am still interested in why NS didnt work.

  • 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-05-23T22:36:20+00:00Added an answer on May 23, 2026 at 10:36 pm

    You probably want [L] here, not [NS] — [NS] is specifically for suppressing the rewrite in some unusual situations where Apache will make an “internal” request to itself, like while processing server-side includes.

    You may also need to make the rule more specific — depending on where this rule is, it’s possible that ^authenticate is matching /id/authenticate.php. If that’s the case, you’ll need to add an earlier rule which “carves out” an exception for that file, like this:

    RewriteRule ^/id/authenticate\.php$ - [L]
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this line of code: RewriteRule ^(.*)/$ allcities.php?state=$1 [QSA,L] Howver how can I
I have this little .htaccess file: RewriteEngine on RewriteRule ^(.*)$ urlroute.php?q=$1 [E=myvariable:'withthisvalue',B,QSA] To direct
I have this line: RewriteRule ^media/123/([a-z0-9\-]*)/$ /image.php?action=$1 Which throws up a 404 error, and
Okay I have this RewriteRule which is supposed to redirect any request for the
I have this rewrite rule RewriteEngine On RewriteBase /location/ RewriteRule ^(.+)/?$ index.php?franchise=$1 Which is
I have this htaccess code: RewriteEngine on RewriteBase /xm/ RewriteCond %{REQUEST_URI} !^/index.php$ RewriteRule ^([a-z0-9]*)\.php$
I have this rule: <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !index.php RewriteRule ^(.*)$ index.php?req=$1
i have a rule like this: RewriteRule ^posts/(.*)/([0-9]*)$ viewupdates.php?username=$1&page=$2 [L] and match to: http://site.com/posts/username/1
I have this rule in my .htaccess: RewriteRule ^build_system/([^/]+)/([^/]+)/([^/]+)/?$ /po_systems/build_system.php?business_id=$1&system_id=$2&quantity=$3 Which works great for
I have been using this rule: RewriteRule ^([^\.]+)/?$ index.php?page=$1 [L] Which will turn example.com/page/hello

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.