Rewrite Exclude

Alexander Meis am at simoon.de
Thu Jul 12 07:33:57 UTC 2012


Hi,

i have the following rewrite rules

  rewrite /files/documents/.* /engine last;
  rewrite /templates/(.*(css|js))$ /engine/backend		
  ...

  if (!-e $request_filename) {
                 rewrite . /shopware.php last;
  }

i want everything under
  /foobarshopconnection/
to be excludet from the rewrite so that it can be accessed.
example: /foobarshopconnection/index.php/testcall/test/bartest

can someone tell me how to do that?

Thanks
Alex



More information about the nginx mailing list