What does the pseudo-static rule in this paragraph of htaccess mean?

Source: Internet
Author: User
 
  
   
  Rewriteengine Onrewritecond%{request_filename}!-drewritecond%{request_filename}!-fRewriteRule ^ (. *) $ index.php?/$ 1 [qsa,pt,l]
 
  


/q_login-qq_login.html such a URL original dynamic URL should be what?
Strange, this section of the URL does not automatically jump, page blank! Please advise!


Reply to discussion (solution)

This file is displayed if the directory exists q_login-qq_login.html file

Execute index.php?/q_login-qq_login.html If it does not exist

This file is displayed if the directory exists q_login-qq_login.html file

Execute index.php?/q_login-qq_login.html If it does not exist



q_login-qq_login.html exist, just browser view Code only:
 
  
 
  
 
  


I don't know which template file it is, and I can't find it. Thinkphp of the project.

Because of this mistake, I am QQ shortcut login (QQ interconnection) application has been audited do not pass!
The template can not search *q*.html, in addition to login.html also search for other seemingly linked to the above URL of the QQ login template file,
But login.html is not QQ login template file, really headache!

?? It's thinkphp. htaccess rewrite

Rewritecond%{request_filename}!-d not an eye?
Rewritecond%{request_filename}!-f is not a file either
Rewriterule ^ (. *) $ index.php?/$1 [qsa,pt,l] Redirect to index.php

Hmm ~ How can i find the template file and let/q_login-qq_login.html display the correct content?

Depressed

Now can go to QQ login interface, but prompt error: redirect URI is illegal (100010)

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.