Hi,

Considering that I don't have symbolic links why do these configs work
differently ?

===config one===
if (!-f $request_filename) {
    rewrite ^/(.*)$ /init.php;
}
if (!-d $request_filename) {
    rewrite ^/(.*)$ /init.php;
}
===config one===

This one above works, rewrite happens.

Being changed to this it stops working, all other lines left intact:
===config two===
if (!-e $request_filename) {
    rewrite ^/(.*)$ /init.php;
}
===config two===

This is inside the location / {}.

Thanks.

Posted at Nginx Forum: 
https://forum.nginx.org/read.php?2,277731,277731#msg-277731

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to