Hi,<div><br></div><div>Trying to do something like this:</div><div><br></div><div>server</div><div>{</div><div> listen...</div><div> server_name...</div><div> root...</div><div> location / </div><div> {</div><div> satisfy any;</div>
<div> allow 1.2.3.4;</div><div> deny all;</div><div> auth_basic "closed site";</div><div> auth_basic_user_file conf/userFile;</div><div> index index.php;</div><div> error_page 404 = @processphp;</div>
<div> error_page 403 = @redirect_to_other_www;</div><div> }</div><div>}</div><div><br></div><div>If I do not include the "auth_basic" elements and I'm accessing the site from an allowed IP address, I get redirected to another www site per the @redirect_to_other_www block. If use the "auth_basic" elements but click on "Cancel" to make the browser's authentication box close, I stay on the site until I click on a link on the site at which time I'm redirected.</div>
<div><br></div><div>Is there a way to no preload the site so that if the user cancels the authentication request, they don't even see anything?</div><div><br></div><div>Thanks</div>