Apache mod_rewrite encounters a 404 error in URL rewriting failure caused by special symbols such as % 2F or % 5C (forward and backward slash ).
. Htaccess File
Http: // localhost/Application/Home/Index/index/url/http % 3A % 2F % 2Fwww.domain.com % 2 Fpage % 2F
When you access the above link, there is always 404, And the rewrite is invalid.
Http: // localhost/Application/Home/Index/index/url/http://www.doma
:
1. Modify the virtual directory configuration of the site
Add allowencodedslashes on in configuration and then restart the service.
Ii. Multiple urlencodes
You can link the URL multiple times, usually twice or three times.
I did a test and found that it had to be successful three times.
Http: // localhost/application/home/index/URL/HTTP % 253a % 25252f % 25252fwww.domain.com % 25252 fpage % 25252f
It seems that this method is not practical, and the change is too large.
but does not do a security filtering operation, it is easy to inject vulnerabilities.There are two workarounds, the first of which is simpler, but requires the permissions of the server operation:First, modify the configuration of the site virtual directory[Plain]View Plaincopy
Allowencodedslashes on
DocumentRoot "D:/htdocs/localhost"
ServerName localhost
Add Allowencodedslashes in the configuration to restart the service after the sentenceSecond, multiple UrlEn
English Reading of keyboard symbols
Backquote quotation marks~ Tilde! Exclam@# Numbersign: hash in English, pound in American, and sharp in music, such as C #$ Dollar% Percent^ Caret Ampersand* Asterisk, Star (American), and multiply in mathematical formulas(Parenleft, opening parentheses) Parenright, closing paretheses-Minus; hyphen hyphens, not read_ Underscore+ Plus= Equal[Bracketleft, opening bracket] Bracketright, closing bracket{Braceleft} Bra
This tutorial introduces the most basic three kinds of components in Flash: Movie clip components, button components, graphic components.
1. The concept
A symbol is a graphic, button, or movie clip created in Flash and saved in a library, which can be reused throughout a movie or other movie, and is the most basic element in Flash animation;
Movie clip Symbol --it can be understood as a small movie in a movie that can be completely independent of the main scene timeline and can be pla
From http://www.jb51.net/article/56924.htm on strong symbols, weak symbols, strong references and weak references in C language submission: Hebedich font: [Increase decrease] Type: Reprint time: 2014-10-31 I would like to comment this article mainly introduces the C language of strong symbols, weak symbols, strong refe
For some bad ideas about strong symbols, weak symbols, strong references, and weak references in C language, please correct them.First of all, I am very tragic. I did not know that C has strong symbols, weak symbols, strong references, and weak references before I read "Programmer self-cultivation-links, loading and li
No symbols found, and no symbols found in java
Symbol not found
Ntdll. pdb cannot be found.
* ** ERROR: Symbolfile cocould not be found. Defaulted toexport symbols for ntdll. dll-
* ************ Symbol Loading Error Summary **************
Module name Error
Ntdll PDB not found: c: \ symbols \ dll \ ntdll. pdb
You c
symbols appearing in the document,-D Delete a character, followed by the deleted character-S Delete duplicate characters[[email protected] ~]# echo "davery" |tr ' [d] ' [d] ' just follow d for DDavery[Email protected] ~]#[[email protected] ~]# echo "Davery" |tr ' d ' d ' only follow d for DDavery[Email protected] ~]#[[email protected] ~]# echo "davery" |tr ' [A-z] ' [A-z] ' all capitalizationDavery[Email protected] ~]#[Email protected] ~]# echo "d
ASP. Net connects server code and special symbols on the front-end interface, and asp.net special symbols
1.
For example:
2.
For example:
3.
For example:
4.
For example,
5.
For example:
Web. config
6. The data obtained by DataBind will be converted to another type by default as String?
DataBinder. eval_r (Container. DataItem, "Conversion Type", "format") Note: The format can not be this met
1.#{} represents a placeholder symbol that can be implemented by #{} to set values in the placeholder PreparedStatement, automate Java type and JDBC type conversions, and#{} can effectively prevent SQL injection . #{} can receive either a simple type value or a Pojo property value. If ParameterType transmits a single simple type value, #{} can be a value or other name in parentheses.Using the # passed in parameter is, the SQL statement parsing is added "", such as SELECT * FROM table where name
SQL statements that are configured in the program by XML to be converted to C # supported SQL statements(select top 1 (select COUNT (*) from Omsorder as a, left join Sysstate as B on (a.[state] = B.value and b.statetype= ' Statede Fault ') where a.[state] = 0 and DateDiff (day, ' 2016-03-25 ', A.[update]) Originally here was written in greater than and less than signError occurred while converting the program When we need to pass xml format processing sql statement, often use ,,>,>= xml format
Python basics special symbols and python basics special symbols
# \ N carriage return
# \ R line break
# \ S space
# \ T tab, do not know? Open a txt text file and press the tab key on the computer, that is, the one on caps lock. in the slot, you can see a large space (or ultra-short space). This is the tab character.
# Other functions will not be used. These functions are sufficient.
# % D Number
Pr
Will we encounter such a problem? Looking at the complete technical article, there are some problem-solving scripts, but when we add them to our actual use, there will be various errors. In fact, these scripts are not very problematic. It is mainly caused by the automatic conversion of individual symbols into full-width characters, such as commas and semicolons, which may cause errors during running.For example, when we use a WordPress program, the ti
English Reading of some special mathematical symbols
+
Plus sign; positive sign
-
Minus sign; minus sign
±
Plus or minus plus and minus signs
×
Is multiplied by multiplication number
Bytes
Is divided by Division
=
Is equal to No.
=
Is not equal to No.
Bytes
Is equivalent to all equal sign
Bytes
Is equal to or approximately equalTo is equal to or
Often will be around people asked: how to play Hanyu Pinyin, how to play Japanese characters, how to play Peach Heart (?) Wait a minute. Now you, is not also in the Internet search "How to play XX"?
In fact, very simple, as long as the use of Sogou Input method of the shortcut to enter the function on the line. You can find the entrance to the function on the Sogou input menu-expression symbol, or press the shortcut key ctrl+shift+z to open the Sogou input Input Panel.
Next, let's solve a few
Problem Example: Binding parameters are not allowed in parameters.Solution: Will #{} to ${} can, originally read an article, the above describes the difference between the two, the basic situation is as followsBefore reading a ibatis article, introduced the 2 differences, carefully think MyBatis is an upgrade version of the Ibatis, two support should also no problem, try really feasible, record!Flexible use of ${} symbols and #{}
Special symbols 1 and #1 in linuxshell programming. comment a line in the script file. 2. the quotation marks and \ symbols are not followed by comments, except that # itself: echo quot; 12 # hehe quot; echo amp; #39; 12 # hehe amp; #39; echo12 \ # hehe3; replace echo $ (PAT... special symbols 1 and #1 in linux shell programming. comment a line in the script
Special symbols 1 and #1 in linux shell programming. comment a line in the script file. 2. The quotation marks and the \ symbol are not comments, but the # symbol itself: echo "12 # hehe" echo '12 # hehe 'echo 12 \ # hehe 3. Replace echo $ (PATH # * :) www.2cto.com 4. Convert echo $(16 # )); convert hexadecimal number a to decimal number to echo $(5 #3 )); convert decimal number 3 to decimal number 5. The pattern matches echo $ {# string} to get the n
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.