Guys, can you help me, please? Some questions about the rules of URL write statement
Source: Internet
Author: User
Would you please help me to see the problem of URL flushing statement rules
The URL rewrite statement rules for spaces are as follows:
1, need to write rewriteengine on to declare the override function, so rewriteengine on is the first pseudo-static statement;
2, all URL rewrite statements start with rewrite keywords, such as Rewirterule, Rewritecond, and so on, similar to the following statements
Rewriterule index.html index.php
3, do not support Ifmodule, AddType and so on keywords, such as
or AddType "Text/javascript;charset=utf-8". Jgz and so on are not supported, adding these statements will only cause your site to be accessed abnormally.
How do you get this? You can give me a clue, thanks.
------Solution--------------------
You don't know where you want to rewrite it, or do you want to ask another question?
------Solution--------------------
Break what ... Httpd.conf to you off the overwrite, you just follow it to tell you the available writing on the line, do not let you ifmodule mod_rewrite.c is because rewrite originally support, Judge a hair AH
------Solution--------------------
Change space
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.