Can you help me check the URL-based write statement rules?

Source: Internet
Author: User
Can you help me to check the URL rewrite statement rules in the problematic space? the URL rewrite statement rules are as follows: 1. you need to write RewriteEngineOn to declare that the rewrite function is enabled, so RewriteEngineOn is the first pseudo static statement; 2. all URL rewriting statements start with keywords starting with Rewrite, such as RewirteRule and Rewrite. can you help me check the URL Rewrite statement rules?
The URL rewriting statement rules of a space are as follows:

1. you need to write RewriteEngine On to declare that the rewrite function is enabled. Therefore, RewriteEngine On is the first pseudo-static statement;

2. all URL rewriting statements start with keywords starting with Rewrite, such as RewirteRule and RewriteCond. similar statements are as follows:

RewriteRule index.html index. php

3. keywords such as IfModule and AddType are not supported, such
Or AddType "text/javascript; charset = UTF-8". jgz and so on are not supported, adding these statements will only cause your site access to abnormal.


How can this be done? You can also provide some ideas. thank you.

------ Solution --------------------
You didn't understand where you want to rewrite it, or you want to ask another question?
------ Solution --------------------
What is broken... Httpd. conf closes overwrite for you, and you just need to follow the available writes that it tells you, so that you will not be allowed to use ifmodule mod_rewrite.c because rewrite is already supported and can judge whether it is gross.
------ Solution --------------------
Change space

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.