I suddently can't access to ispconfig3 admin panel (debian+nginx)

Discussion in 'General' started by calbasi, Jan 7, 2015.

  1. calbasi

    calbasi Member

    My other web sites are running OK, but I can not access ispconfig panel.

    My /var/log/nginx/error.log show this:

    2015/01/07 21:35:48 [error] 13030#0: *102044 open() "/usr/local/ispconfig/interface/.htpasswd" failed (2: No such file or directory), client: xx.xx.xxx.xxx, server: _, request: "GET /index.php HTTP/1.1", host: "vpsxxxxx.ovh.net:8080"

    I don't have any .htpasswd file at /usr/local/ispconfig/interface/
    (does nginx use .htpasswd??)

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Nginx uses .htpassd files as well to store passwords. It just dont use .htaccess files.

    Most likely you configured a password protection for your ispconfig vhost. Take a look at the /etc/nginx/sites-available/ispconfig.vhost file.
    calbasi likes this.
  3. calbasi

    calbasi Member

    You are right :)
    I don't know why, but 2 months ago I've edited my ispconfig.vhost to add:
    auth_basic "Members Only";
    auth_basic_user_file /usr/local/ispconfig/interface/.htpasswd;
    I'm not sure, but I think I did it updating ispconfig. Maybe I read something about it...

Share This Page