GitHub Pages有没有替代.htaccess的? [英] Is there an alternative to .htaccess for GitHub Pages?
本文介绍了GitHub Pages有没有替代.htaccess的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我知道 .htaccess
不受GitHub Pages支持。有没有一种替代方案来保护GitHub页面托管的网站的特定目录?
I understand that .htaccess
is not supported by GitHub Pages. Is there an alternative for password-protecting particular directories for websites hosted by GitHub Pages?
推荐答案
尽管你不能使用 .htaccess
或 .conf
,Github有关于如何使用Jekyll Redirect From插件的说明。
Although you can't use .htaccess
or .conf
, Github has instructions on how to use the Jekyll Redirect From plugin.
https://help.github.com/articles/redirects-on -github-pages /
这篇关于GitHub Pages有没有替代.htaccess的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文