• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

auth_basic

  1. Dirk

    Question Nginx behaving strangely with auth_basic

    I have the following line in nginx. conf: location ^~ /internal/ {auth_basic "Restricted"; auth_basic_user_file /var/www/. htpasswd; } This works well, but the following problem occurs. If I'm in the internal area and now access a php file in the directory, it won't be executed but downloaded...
Back
Top