Hi thanks for that your suggestion: ----------------- So you say that /shop/index.php doesn't land to /shop/ location? Then ensure that you don't have location /shop/index.php , otherwise see debug log ------------------- I do want access to /shop/ as well as /shop/index.php - but only to a select ip-range or password my directive works for /shop/ but if someone types in /shop/indby jacograaff - Nginx Mailing List - English
I am moving from a development server to a live server and would like to still test before REALLY going live. I need to redirect access to a sub-folder until I am satisfied with the stability this is what i have: ------------------------------------------------------------- server { listen 80; server_name hostname.com #other configurations location ~ \.php$ {by jacograaff - Nginx Mailing List - English