删除密码保护的.htaccess(Nginx的) [英] Remove Password Protection .htaccess (Nginx)

查看:216
本文介绍了删除密码保护的.htaccess(Nginx的)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图把我的网站直播通过删除htpasswd的保护 我不知道如果这是关系到我的其他predicament,但希望不是。 我试过删除,里面注释掉的语言/站点可用/默认情况下,引用我的htpasswd.txt文件,但我无法摆脱的密码保护,这是基本的如何设置:kbeezie.com/...

I'm trying to take my site live by removing the htpasswd protection i'm not sure if this is related to my other predicament but hopefully not. i've tried deleted and commenting out the language inside /sites-available/default that references my htpasswd.txt file but I can't get rid of the password protection this is basically how its setup: kbeezie.com/…

有一百万文章,介绍了如何删除htaccess的密码保护,但其中大部分是Apache和建议创建一个.htaccess文件,并写入:满足任何及全部允许等,但这些方法都对我的作品。 当然-_- ;;。

There's a million articles that explain how to remove htaccess password protection but most of them are for apache and suggest creating an .htaccess file and writing: Satisfy Any and Allow All etc but none of that works for me. of course -_-;;.

我已经试过delete一个的htpasswd的文件,并删除了code引用它(也删除了code)和没有奏效。任何想法?

I've tried deleteing the .htpasswd file and removing the code that references it (also deleted the code) and none of that worked. Any ideas?

推荐答案

我的建议,任何人只要有一个问题,因为这涉及未知数,不能处理经过多方努力(的努力天):转到您的服务器(在我案例数字海洋),并创建一个新的(把你的服务器的快照应用到新的IP)的IP /液滴为您的网站。卸载你的服务器引擎(Nginx的或Apache),并重新安装上新的服务器/ IP。这是一个有点恼人,但至少你不会被卡住,好像我是好几天。

My suggestion to anyone with a problem such as this involving unknowns that cannot be dealt with after much effort (days of effort): Go to your Server (in my case digital ocean) and create a new (take a snapshot of your server to apply to your new IP) IP / droplet for your site. Uninstall your server engine (Nginx or Apache) and reinstall on the new server / IP. It's a little annoying but at least you wont be stuck like I was for days.

这篇关于删除密码保护的.htaccess(Nginx的)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆