On top of Windows
Rewritecond%{http_host} ^ ([^\.] +). test.com$
Rewriterule ^ (. +)/(. +) \.html$%1/base/ss$1@$2. HTML [PT]
Rewriterule ^ (. +). html$ index.php/$1 [L]
The above rules on the winowsxp can be passed but on Linux above the error, check the contents of the errors log as follows
[Mon Jul 21 15:14:55 2014] [ERROR] [Client 192.168.7.176] Request exceeded the limit of internal redirects due to probable configuration error. Use ' limitinternalrecursion ' to increase the limit if necessary. Use the ' LogLevel debug ' to get a backtrace.
[Mon Jul 21 15:14:55 2014] [ERROR] [Client 192.168.7.176] Request exceeded the limit of internal redirects due to probable configuration error. Use ' limitinternalrecursion ' to increase the limit if necessary. Use the ' LogLevel debug ' to get a backtrace.
[Mon Jul 21 15:14:55 2014] [ERROR] [Client 192.168.7.176] Request exceeded the limit of internal redirects due to probable configuration error. Use ' limitinternalrecursion ' to increase the limit if necessary. Use the ' LogLevel debug ' to get a backtrace.
[Mon Jul 21 15:14:55 2014] [ERROR] [Client 192.168.7.176] Request exceeded the limit of internal redirects due to probable configuration error. Use ' limitinternalrecursion ' to increase the limit if necessary. Use the ' LogLevel debug ' to get a backtrace.
[Mon Jul 21 15:14:56 2014] [ERROR] [Client 192.168.7.176] Request exceeded the limit of internal redirects due to probable configuration error. Use ' limitinternalrecursion ' to increase the limit if necessary. Use the ' LogLevel debug ' to get a backtrace.
[Mon Jul 21 15:14:56 2014] [ERROR] [Client 192.168.7.176] Request exceeded the limit of internal redirects due to probable configuration error. Use ' limitinternalrecursion ' to increase the limit if necessary. Use the ' LogLevel debug ' to get a backtrace.
You need to change to the following rules under Linux.
Rewritecond%{http_host} ^ ([^\.] +). test.com$
Rewriterule ^ (. +)/(. +) \.html$%1/base/ss$1@$2. HTML [PT]
Rewriterule ^ (. +). htm$ index.php/$1 [L]
I want to use the same as Linux and on windowsxp. HTML
Is there any way? is not the problem of httpd.conf setup?
Reply to discussion (solution)
Sorry, the above section is wrong, now correct:
On top of Windows
Rewritecond%{http_host} ^ ([^\.] +). test.com$
Rewriterule ^ (. +)/(. +) \.html$%1/base/ss$1@$2.html [PT]
Rewriterule ^ (. +). html$ index.php/$1 [L]
The above rules on the winowsxp can be passed but on Linux above the error, check the contents of the errors log as follows
[Mon Jul 21 15:14:55 2014] [ERROR] [Client 192.168.7.176] Request exceeded the limit of internal redirects due to probable configuration error. Use ' limitinternalrecursion ' to increase the limit if necessary. Use the ' LogLevel debug ' to get a backtrace.
[Mon Jul 21 15:14:55 2014] [ERROR] [Client 192.168.7.176] Request exceeded the limit of internal redirects due to probable configuration error. Use ' limitinternalrecursion ' to increase the limit if necessary. Use the ' LogLevel debug ' to get a backtrace.
[Mon Jul 21 15:14:55 2014] [ERROR] [Client 192.168.7.176] Request exceeded the limit of internal redirects due to probable configuration error. Use ' limitinternalrecursion ' to increase the limit if necessary. Use the ' LogLevel debug ' to get a backtrace.
[Mon Jul 21 15:14:55 2014] [ERROR] [Client 192.168.7.176] Request exceeded the limit of internal redirects due to probable configuration error. Use ' limitinternalrecursion ' to increase the limit if necessary. Use the ' LogLevel debug ' to get a backtrace.
[Mon Jul 21 15:14:56 2014] [ERROR] [Client 192.168.7.176] Request exceeded the limit of internal redirects due to probable configuration error. Use ' limitinternalrecursion ' to increase the limit if necessary. Use the ' LogLevel debug ' to get a backtrace.
[Mon Jul 21 15:14:56 2014] [ERROR] [Client 192.168.7.176] Request exceeded the limit of internal redirects due to probable configuration error. Use ' limitinternalrecursion ' to increase the limit if necessary. Use the ' LogLevel debug ' to get a backtrace.
You need to change to the following rules under Linux.
Rewritecond%{http_host} ^ ([^\.] +). test.com$
Rewriterule ^ (. +)/(. +) \.html$%1/base/ss$1@$2. HTM [PT]
Rewriterule ^ (. +). html$ index.php/$1 [L]
I want to use the same as Linux and on windowsxp. HTML
Is there any way? is not the problem of httpd.conf setup?
Request exceeded the limit of internal redirects due to probable configuration error. Use ' limitinternalrecursion ' to increase the limit if necessary. Use the ' LogLevel debug ' to get a backtrace.
exceeds the limit of 10 overrides per request
Limitinternalrecursion said it might have been called recursively, and was repeatedly intercepted by rewrite, more than 10 levels deep.
Request exceeded the limit of internal redirects due to probable configuration error. Use ' limitinternalrecursion ' to increase the limit if necessary. Use the ' LogLevel debug ' to get a backtrace.
exceeds the limit of 10 overrides per request
Limitinternalrecursion said it might have been called recursively, and was repeatedly intercepted by rewrite, more than 10 levels deep.
It is indeed recursion. Because
Rewriterule ^ (. +)/(. +) \.html$%1/base/ss$1@$2. HTML [PT]
Rewriterule ^ (. +). html$ index.php/$1 [L]
The second one intercepts all the addresses with the. HTML End
The first one only goes to the address of the. html.
But windowsxp in the execution of the first stop can be normal access, can be on Linux on the error.