使Github页面不区分大小写? [英] Make Github pages case insensitive?
问题描述
有没有办法使github页面不区分大小写?
Is there a way to make github pages case insensitive?
还是在jekyll中确保所有网址都是小写?
Or in jekyll to ensure all url's are lowercase?
例如,此网址有效:
http://www.example.net/Vegas-2014.html
但是这404s
http://www.example.net/vegas-2014.html
从可用性角度来看,我不喜欢这样. (例如,短信地址,输入网址等)
I don't like that from a usability perspective. (think text messaging urls, typing them in, etc.)
我知道我可以使用永久链接来解决此问题,但是我想知道是否有一种方法可以通过配置Jekyll或页面或其他技术来做到这一点.
I know I can fix this with permalink, but I'm wondering if there is a way to do it through configuration of Jekyll or pages or some other technique.
推荐答案
Sorry but case-sensitiveness is a standard for URL that is respected in Unix/Linux world. Windows world in more case insensitive but it's another world ;-).
Apache,Nginx或其他开源服务器默认情况下区分大小写,并且可以配置为不区分大小写.
An Apache, Nginx or other open-source server is case-sensitive by default and can be configured to be case insensitive.
在Jekyll/Github页面世界中,我们必须照顾好案件.
In the Jekyll/Github pages world, we must take care of our cases.
但是也许您可以尝试 Jekyll重定向自.
这篇关于使Github页面不区分大小写?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!