So far I have the below and the requests for the html, css, images and php files are working great. But when i make a request for www.domain.com/blah/blah/blah/ im getting a 404, what i really want is for the URL to reamin as www.domain.com/blah/blah/blah/ but load the index.php file location ~ directory/(.*)$ { } location ~ (.*)$ { } location /html { rewrite ^/html / break; } lby Bill-nginx - Migration from Other Servers
This is what im tying to re write for nginx... If i browse to www.domain.com/anything/anything/anything/ the address in the browser shows www.domain.com/anything/anything/anything/ but the file that is loaded is index.php If i browse to www.domain.com/blah/blah/blah/blah/ the address in the browser shows www.domain.com//blah/blah/blah/blah/ but the file that is loaded is index.php but Ifby Bill-nginx - Migration from Other Servers
![]() |
![]() |
![]() |
![]() |
![]() |