开发者

Starting a directory with a + in a URL

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜