开发者

Starting a directory with a + in a URL

开发者 https://www.devze.com 2023-03-14 06:01 出处:网络
For long and complicated reasons which I won\'t go into, is there any reason why you can\'t start a \'directory\' with a +开发者_如何学JAVA ?

For long and complicated reasons which I won't go into, is there any reason why you can't start a 'directory' with a +开发者_如何学JAVA ?

For example

http://stackoverflow.com/+helloworld

Note that it's not actually a directory, it's being mapped using a rewriterule

Just checking...

?

+Note : Similar to the old school tilda ~ but I don't want to use ~ because nobody knows where it is on the keyboard


Did you try with this?

rewriterule ^\+helloworld$ /test.html


No you can not use it to refer, in general symbol + in URL refers to whitespace: http://trprod.proofstat.com/homepages/webcatalog/cec/specs/special_c.htm

0

精彩评论

暂无评论...
验证码 换一张
取 消