htaccess htpasswd无法正常工作

时间:2017-12-07 08:19:33

标签: .htaccess cpanel .htpasswd

我已将<script> $('#form1').submit(function(){ var game_name = $("#form2 #user_input").val(); var players = []; var players_inputs = $("#form1").find("input[name^='data[playername]']"); $.each(players_inputs, function(){ var player = $(this).val(); players.push(player); }); var data = { game_name : game_name, players: players } console.log(data); // save to localstorage localStorage.setItem('game_players', JSON.stringify(data) ); event.preventDefault(); }); </script> .htaccess配置为cpanel。

当我在cpanels上更改某些文档时,似乎没有响应。

没有小窗口要求输入用户名和密码。

.htpasswd的内容为.htpasswd

the path of both files

content of .htpasswd1

content of my .htaccess file

0 个答案:

没有答案