Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
litespeed_wiki:troubleshooting:rewrite_difference_on_l_flag_between_lsws_and_apache [2019/01/03 21:04]
Lisa Clarke Proofreading
litespeed_wiki:troubleshooting:rewrite_difference_on_l_flag_between_lsws_and_apache [2019/03/19 15:32]
Lisa Clarke Fixed live example.com links
Line 51: Line 51:
   ​   ​
 Under Apache: Under Apache:
-  - A visitor hits the URL ''​http://​example.com/​es/​reservar.html''​ .+  - A visitor hits the URL ''​<​nowiki>​http://​example.com/​es/​reservar.html</​nowiki>​''​ .
   - The web server recognizes the pattern ''​^es/​(.*)$''​ from the first rewrite rule and the request is internally redirected to ''/​reservar.html''​.   - The web server recognizes the pattern ''​^es/​(.*)$''​ from the first rewrite rule and the request is internally redirected to ''/​reservar.html''​.
   - ''/​reservar.html''​ also matches the rule ''​^reservar\.html(.*)$''​ and is redirected to ''​reservar.php''​.   - ''/​reservar.html''​ also matches the rule ''​^reservar\.html(.*)$''​ and is redirected to ''​reservar.php''​.
Line 57: Line 57:
  
 Under LiteSpeed Web Server: Under LiteSpeed Web Server:
-  - A visitor hits the URL ''​http://​example.com/​es/​reservar.html''​ .+  - A visitor hits the URL ''​<​nowiki>​http://​example.com/​es/​reservar.html</​nowiki>​''​ .
   - The web server recognizes the pattern ''​^es/​(.*)$''​ from the first rewrite rule and the request is internally redirected to ''/​reservar.html''​.   - The web server recognizes the pattern ''​^es/​(.*)$''​ from the first rewrite rule and the request is internally redirected to ''/​reservar.html''​.
   - Processing stops at the first [L] (''​RewriteRule ^es/(.*)$ /$1 [L]''​) and never reaches the forth line at all.   - Processing stops at the first [L] (''​RewriteRule ^es/(.*)$ /$1 [L]''​) and never reaches the forth line at all.
  • Admin
  • Last modified: 2019/03/19 15:32
  • by Lisa Clarke